Commit 97e1deb2 by BellCodeEditor

save project

parent 967491ea
Showing with 7 additions and 4 deletions
Pe=input('你出的是石头/剪刀/布')
print("玩家出的是布")
\ No newline at end of file
import random
list=["石头","剪刀","布"]
pe=input('你出的是石头/剪刀/布:')
print(pe)
computer=random.choice(list)
print(computer)
\ 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