Commit b0d7318e by BellCodeEditor

save project

parent a59ab147
Showing with 8 additions and 2 deletions
......@@ -3,4 +3,11 @@ input(player)
import random
list["石头,剪刀,布"]
computer=random.choice(list)
print(computer)
\ No newline at end of file
print(computer)
if piayer = computer:
print("平局")
elif (player == "石头" and aomputer=="剪刀")(player == "剪刀" and aomputer=="布")(player == "布" and aomputer=="石头"):
print("你赢了")
else:
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