Commit d8b9f444 by BellCodeEditor

save project

parent 501cae0d
Showing with 5 additions and 2 deletions
# 玩家出拳 # 玩家出拳
import random
qa=input("玩家请出拳(石头、剪刀、布):") qa=input("玩家请出拳(石头、剪刀、布):")
print("玩家所出拳:"+qa) print("玩家所出拳:"+qa)
\ No newline at end of file list1=['石头','剪刀','布']
lt=random.choice(list1)
print('机器出拳:'+lt)
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