Commit d0f705ab by BellCodeEditor

save project

parent c03916be
Showing with 10 additions and 3 deletions
passs=input("玩家请出拳(石头/剪刀/布):")
print("玩家出拳:",passs)
\ No newline at end of file
guanqiashu=input("数量:")
for i in range(0,int(guanqiashu),1):
passs=input("玩家请出拳(石头/剪刀/布):")
print("玩家出拳:",passs)
#计算机出拳
import random
list=["剪刀","石头","布"]
hello=random.choice(list)
print("电脑出拳:\n",hello)
\ 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