python版猜數字遊戲

import random num = int(random.random()*100) while True: myNum = int(input("Enter you num:")) print myNum if myNum == num: print "ok" break elif myNum>num: prin
相關文章
相關標籤/搜索