Commit 597c843e by BellCodeEditor

save project

parent 676aa979
Showing with 5 additions and 2 deletions
......@@ -3,4 +3,8 @@ print("玩家出拳:"+player)
input random
list("石头,剪刀,布")
computer=random.cholce(list)
print(list)
\ No newline at end of file
print(list)
if player==computer
player("平局")
elif (computer=="剪刀",player=="石头")(computer=="石头",player=="布")(computer=="布",player=="剪刀")
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