Day 1 - Beginner - Working with Variables in Python to Manage Data

  1. What you’re going to get from this course
    第一天聽Angela的標準英語,介紹她的課程內容,經過連串的練習後,你會在這100天後成為 professional。
    無需經驗,從無到有,from beginner to proffessional ,只要你確實作完她準備的100個projects. 一天一課。
    大家加油吧!
1. What you're going to get from this course
2. START HERE
3. Downloadable Resources and Tips for Taking the Course
測驗 1: Skills Assessment
4. Day 1 Goals: what we will make by the end of the day
5. Printing to the Console in Python
6. [Interactive Coding Exercise] Printing
7. String Manipulation and Code Intelligence
8. [Interactive Coding Exercise] Debugging Practice
9. The Python Input Function
10. [Interactive Coding Exercise] Input Function
11. Python Variables
12. [Interactive Coding Exercise] Variables
13. Variable Naming
測驗 2: Variable Naming Quiz
14. Day 1 Project: Band Name Generator
15. Congratulations! Well done!
9個讚

大家加油

2個讚

盡量擠出多一點時間來上課哈哈哈哈
看上次投票的狀況線下會應該要先暫緩一下了

2個讚

加油加油!

3個讚

:grinning:

1個讚

大家一起加油!!! :grin:

1個讚

建議本組的組員們,一定要作筆記。
在課程漸進後,會越來越難,且需要不斷回頭參考前面所學,
然後發現前面所學的不足與謬誤,並修改之。

我是用 google document 作筆記,開個頁面在旁邊隨時記錄,自動存檔。
可排版、插圖、標記…
功能已足夠作為筆記的用途。

5個讚

:innocent:

1個讚

如果習慣用Markdown語法,Hackmd也是不錯的選擇哦 :+1:

2個讚

我在 google document 中加了個 Code Blocks 外掛,解決了 code 編排問題。
個人覺得,本來就常用 ms word 寫文件的,可以無痛筆記。

3個讚
13. Variable Naming

心得

在 python 的命名原則為 :

允許 a-z A-z 0-9 和 _ , 但是開頭必須是 [_a-z A-Z] 其中一個
所有變數都分大小寫
變數長度沒有限制

命名法
  PascalCase 每一個單字的首字母大寫
  camelCase 第一個單字的首字母小寫,其餘單字首字母大寫
  snake_case 全小寫,單字與單字間使用_底線分隔

各類用語命名
  Modules and packages — 一律小寫(snake_case)
  Constants — (常數)一律全部大寫 例: NAME、FONT
  Classes — 英文單字開頭第一個字大寫(PascalCase),文字串接不使用下底線
    例: ClassName
  Methods and functions — 一律小寫,文字串接的時候使用下底線(snake_case)
    例: method_name
  Local variables — 一律小寫,文字串接的時候使用下底線(snake_case)
    例: my_name

重點在: 要淺顯易懂、一看就懂、方便日後程式維護。不在於程式多精簡,用了多高深的語法。

5個讚

大家一起加油唷 :smiley:

2個讚