Commit 53bf9e24 by BellCodeEditor

save project

parent c112c6d0
Showing with 4 additions and 8 deletions
import random
a=input("请输入你要出的:")
print("玩家:"+a)
b = random.choice(1,3)
if b==1:
print("人机:石头")
if b==2:
print("人机:布")
if b==3:
print("人机:剪刀")
\ No newline at end of file
list=["石头","布","剪刀"]
b = random.choice(list)
print("人机:"+b)
\ 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