python3入門----條件控制,循環

 條件python a=int(input()) if a == 1: print('a=1') elif a == 2: print('a=2') else: print('a=other')  循環code for a in range(0,10,2): print(a,end=' | ') else: print("----------end----
相關文章
相關標籤/搜索