[廣東話] Python 入門:第五課 – Function + File

  1. Define functions
    • Def keyword
    • Parameters, arguments, return value, None
    • Parameters passing: Use of tuple (*) / dictionary (**)
  2. File
    • Read / write / copy / delete / file exists

免費訂閱本 Youtube 頻道

[廣東話] Python 入門:第四課 – If-Else, Looping, Try-except

If-Else, Looping, Try-except

  1. If conditions (if-else / if-elif-else)
  2. Looping
    1. While loop + for loop with “break” & “continue”
      List comprehension / dictionary comprehension
  3. Try-except

免費訂閱本 Youtube 頻道

[廣東話] Python 入門:第三課 – Python containers (2): Dictionary / Set

Python Containers (第二部分)

  1. Review list, tuple, dictionary & set (列表, 元組, 字典, 集合)
  2. Dictionary: Conversion, access by key, get, update, remove, clear, keys, values, items, copy
  3. Set: Conversion, intersection (&), union (|), difference (-)

免費訂閱本 Youtube 頻道

無法複製此頁面的內容