Commit de45c3cc by BellCodeEditor

save project

parent 6de6ee29
Showing with 2 additions and 1 deletions
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
player=input("请输入(石头,剪刀,补)") player=input("请输入(石头,剪刀,补)")
print("你打出的是"+player) print("你打出的是"+player)
computer1=("石头","剪刀","布") computer1=("石头","剪刀","布")
computer=random.choices(computer1) computer=random.choice(computer1)
print("电脑:"+computer) print("电脑:"+computer)
\ 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