python練手小程序(石頭剪子布)

概述 使用python作的石頭剪子布遊戲python 代碼 import random # 輸出標題 print("*"*50) print("\t"*2+"石頭剪子布V1.0") print("\t\t\tpowered by bboysoul") print("*"*50) # 判斷誰輸誰贏 def judg(): if (player == 0 and computer == 2
相關文章
相關標籤/搜索