運算猜數字遊戲以及畫圖

猜謎遊戲: while True: a = int(input('請猜測我的身高(單位:cm)\n')) if a>200: print('對不起,您猜大了,請重新輸入') elif a<200: print('對不起,您猜小了,請重新輸入') else: a=200 print('恭喜您猜對了') break   畫圖: import turtle #引用turtle庫 scr = turtl
相關文章
相關標籤/搜索