Commit 38a1a1d7 by BellCodeEditor

save project

parent dfc43bfd
Showing with 5 additions and 2 deletions
import random
player=input("请出拳:石头/剪刀/布")# 玩家出拳 player=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+player) alist=['石头','剪刀','布']
\ No newline at end of file computer=random.choice(alist)
print("玩家出拳:"+player)
print("电脑出拳:"+computer)
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