Commit 404fec5c by BellCodeEditor

save project

parent 1f280390
Showing with 8 additions and 4 deletions
#玩家出
a=input("请你出拳"+"石头,剪刀,布")
print(a+"石头,剪刀,布")
\ No newline at end of file
import random
list = ("石头","剪刀","布")
a = random.choice(list)
print("机器人出拳"+computer)
if:player==computer:
print("平局")
elif (player=="石头"and computer=="剪刀")or(player=="布"and 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