Commit bdb7f5d5 by BellCodeEditor

save project

parent 7f9db5ca
Showing with 14 additions and 3 deletions
neme=input("输入名字") import random
print(neme+"你好啊") neme=input("石头剪刀布")
\ No newline at end of file list=["石头","剪刀","布"]
compute=random.choice(list)
print("你"+neme)
print("它"+compute)
if compute==neme:
print(平局)
elif (neme="石头"and compute="剪刀")or(neme="布"and compute="石头")or(neme="剪刀"and compute="布")or:
print(胜利)
else
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