1.變數
python所有都是物件
type()
id()
2.輸入
from sys import stdin
a = int(stdin.readline())
a = input()
try:
except:
3.輸出
print("%d " %A[0],"%d" A[1])
print(A[0],A[1])
4.陣列,數組
A = []
5.迴圈
for i in range(0,a):
while True:
6.判斷式
if A % 2 == 0:
print("%d " %A,end='')
else:
print("%d(-) " %A,end='')