Commit c21293a2 by BellCodeEditor

save project

parent 3ddbff77
Showing with 9 additions and 2 deletions
s
\ No newline at end of file
import random
while True:
wj=input("玩家出拳:")
print("玩家出拳:"+wj)
jsj=["剪刀","石头","布"]
computer=random.choice(jsj)
print(computer)
if wj==computer:
print("平手")
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