Commit af78723d by BellCodeEditor

save project

parent d39ca7a0
Showing with 4 additions and 3 deletions
import randon import random
P=input("玩家请出拳(石头.剪刀.布)") P=input("玩家请出拳(石头.剪刀.布)")
print("玩家选择"+P) print("玩家选择"+P)
a=["石头.剪刀.布"] a=["石头","剪刀","布"]
n=randon.choice(a) n=random.choice(a)
print("电脑选择"+n) print("电脑选择"+n)
\ 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