Commit a0c6c116 by BellCodeEditor

save project

parent cafd5027
Showing with 3 additions and 2 deletions
...@@ -2,4 +2,5 @@ input randon ...@@ -2,4 +2,5 @@ input randon
P=input("玩家请出拳(石头.剪刀.布)") P=input("玩家请出拳(石头.剪刀.布)")
print("玩家选择"+P) print("玩家选择"+P)
a=["石头.剪刀.布"] a=["石头.剪刀.布"]
n=randon.choice(a) n=randon.choice(a)
\ No newline at end of file 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