Learn Python by Building Data Science Applications
上QQ阅读APP看书,第一时间看更新

Questions

  1. What are functions, and when should we use them?
  2. How can data be provided to functions?
  3. What does indentation mean? Is it required?
  4. What should be covered in the docstring function? How can I read the docstring function?
  5. When could it be useful to use type annotations?
  6. How can a function be designed if I don't know the exact number of arguments or their names beforehand?
  7. What does anonymous function mean? When should they be used?