python條件判斷

1 條件判斷函數 ex:spa age = 20 if age>=18: print('your age is ',age) print('adult') input else: print('your age is ',age) print('teenager') it 2 input,讀取用戶的輸入循環 ex:while bitrh = input('birth:')生成 3 for...in
相關文章
相關標籤/搜索