Functions and Methods

  1. Use the help() function; the input is the name of the method or function

  2. Read the documentation online.

  3. python 是物件導向程式 如果要用method 是要跟著object

    1. string.split()
  4. function 不用著前面的object

    1. range()
  5. 如果看到新的object 不知道是method or function 該如何查詢

    1. 利用help () function
    2. 利用 python 官網 documentation

3.10.5 Documentation