Commit 980b72a8 by BellCodeEditor

save project

parent b0849592
Showing with 7 additions and 12 deletions
# 玩家出拳 username="python"
import random userpassed="123456"
player=input("玩家先出拳:石头/剪刀/布") name=input("请。。。")
print("玩家出拳"+player) print("请。。。。。")
list=["石头,剪刀,布"] if :
com=random.chmoice(list) print("")
print("电脑出拳:"+com)
if player==com
plant("平局")
elif player=="石头"and com=="剪刀":
print("玩家赢")
\ No newline at end of file
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