Commit 10623682 by BellCodeEditor

save project

parent 3961c8e0
Showing with 4 additions and 3 deletions
abc = input("你出啥(s/j/b)s=石头 j=剪刀 b=布") abc = input("你出啥(s/j/b)s=石头 j=剪刀 b=布")
print("你的选择是"+ abc) print("你的选择是"+ abc)
import random import random
computer = list("石头","剪子","布") list = ["石头","剪子","布"]
print = ("电脑出的是" + computer) computer = random.choice(list)
\ No newline at end of file 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