Commit 26ee70af by BellCodeEditor

save project

parent 23dfff73
Showing with 10 additions and 0 deletions
# 玩家出拳
import random
print("猜拳游戏")
a=input("输入start开始")
if a=="start":
b=input("请出拳 1-石头 2-剪刀 3-布")
if b==1 or b==2 or b==3:
list=[1,2,3]
random.choice(list)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment