Commit 6f81560a by BellCodeEditor

save project

parent 1ce34c6b
Showing with 4 additions and 1 deletions
...@@ -2,4 +2,6 @@ import random ...@@ -2,4 +2,6 @@ import random
a=input("请输石头,剪刀,布") a=input("请输石头,剪刀,布")
print(a) print(a)
s = ["石头","剪刀","布"] s = ["石头","剪刀","布"]
print(random.choice(s))
b=random.choice(s)
print(b)
\ 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