Commit 44028093 by BellCodeEditor

auto save

parent 1e6ba200
Showing with 5 additions and 3 deletions
...@@ -2,5 +2,7 @@ a=input("请出拳"+"石头、剪刀、布") ...@@ -2,5 +2,7 @@ a=input("请出拳"+"石头、剪刀、布")
print("玩家出拳"+a) print("玩家出拳"+a)
import random import random
list["石头","剪刀","布"] list["石头","剪刀","布"]
computer=random_choice(list) compuctr=random_choice(list)
print(computer) if player==computer:
\ No newline at end of file elif player=="石头"and computer=="剪刀"
print(j'j'j'j'j'j'j'k'j'k'k'k'j'k))
\ 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