Commit 2f5c50a5 by BellCodeEditor

save project

parent 9d686908
Showing with 24 additions and 2 deletions
import random #导入random
A=input("玩家出拳(石头/剪子/布)")
print("玩家出拳:"+A)
C=["石头","剪刀","布"]
letter=random.choice(C)
print("计算机出拳:"+letter)
A=input("玩家出拳(石头/剪子/布)")
print("玩家出拳:"+A)
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