[廣東話] Python 入門:第二課 – Python Containers – List / Tuple

Python Containers

  1. Python Containers
    1. List [] -列表
    2. Tuple () -元組
    3. Dictionary {key:value} -字典
    4. Set {key} -集合
  2. Using List
    • Append, add, insert, extend, pop, del, sort, copy
  3. Using Tuple
    • Accessing elements, variable assignment

免費訂閱本 Youtube 頻道

[廣東話] Python 入門:第一課 – PyCharm, Python examples & Python data types

[廣東話] Python 入門:第一課 – PyCharm, Python examples & Python data types

基於 Python 3.7 的教程,以廣東話教授。

# 第一課: PyCharm, Hello world, data type

  1. Pycharm IDE basic usage
  2. Indentation, print function
  3. Four main data type: str, int, float, bool
  4. Basic calculation
  5. Type conversion: int(), float(), str(), bool()
  6. String concatenation
  7. SLICE operation [start:end:step]
  8. String functions: find, replace, etc.

免費訂閱本 Youtube 頻道

Android Studio 可成功 compile 但編輯器完全找不到 AppCompat 的任何參考

今天遇到一個很奇怪的 Android Studio 問題。打開其中一個項目時,可以成功 compile 但 AppCompat 的參考都找不到 (全部標示為紅字)。把上 Google 找到 stackoverflow 上也有人有過同樣的問題,什麼 Clean / Invalidate Caches 都不能解決問題,只有其中有一簡單方法對我的項目有效。 先把 Android Studio 關掉 到項目的 \.idea 刪除 libraries (或更名) 用 Android Studio 重新打開該項目 Stackoverflow 的解答

無法複製此頁面的內容