Commit c93d88ad by BellCodeEditor

save project

parent 54a0accc
Showing with 3 additions and 2 deletions
...@@ -5,4 +5,6 @@ player = input("请出拳:") ...@@ -5,4 +5,6 @@ player = input("请出拳:")
print("你:"+player) print("你:"+player)
list = ["石头","剪刀","布"] list = ["石头","剪刀","布"]
computer=ranbom.choice(list) computer=ranbom.choice(list)
print(computer) print("计算机出拳:"+computer)
\ No newline at end of file if player == 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