Commit d948a749 by BellCodeEditor

save project

parent e19534c4
Showing with 11 additions and 0 deletions
import random
pleyer=input("你出")
s=["剪刀","布","石头"]
computer=random.choice(s)
print(computer)
if (pleyer=="剪刀" and computer=="布") or (pleyer=="布" and computer=="石头") or (pleyer=="石头" and computer=="剪刀"):
print("你赢了^_^")
else:
print("你没赢*_*")
\ 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