Commit f1e9e5d4 by BellCodeEditor

save project

parent 475779e3
Showing with 9 additions and 2 deletions
# 玩家出拳
prayer=input("玩家出拳"("石头,剪刀,布"))
\ No newline at end of file
import random
prayer=input("玩家出拳(石头,剪刀,布)")
new_list=["石头","剪刀","布"]
suijishu=random.choice(new_list)
print("计算机出拳:"+suijishu)
print("玩家出拳:"+prayer)
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