10th 攜澎引盼
洪崇凱
# selection
money = 10
if money >= 20:
BuyDrink('Coke')
money = money - 20
else:
Cry()
# loop
lack = 20 - money # 10
for day in range(1, lack):
SaveMoney(1)
# list (array)
Package = ['Pen', 'Book', 'Cyanide']
BuyDrink('Coke')
Package.append('Coke')
print Package # ['Pen', 'Book', 'Cyanide', 'Coke']
流程控制結構?
1
2
3
4
9
7
Time table for 2015
學測 | 備審 | 筆試 | 成績 | |
---|---|---|---|---|
臺 | 20% | 40% | 40% | 82.41 (X) |
清 | 40% | 60% | - | 93.41 |
交 | 50% | 50% | - | 96.13 |
成 | 50% | 50% | - | 89.07 |
其實我自己也才現在進行式 XD
你從今以後的快樂夥伴
Notepad++
Vim
Sublime
Visual Studio Code
推薦
1 # selection
2
3 money = 10
4 if money >= 20:
5 BuyDrink('Coke')
6 money = money - 20
7 else:
8 Cry()
# selection
money = 10
if money >= 20:
BuyDrink('Coke')
money = money - 20
else:
Cry()
工商服務時間
「臺灣大學資訊工程學系」
放心地擺在志願單第一順位吧 :)