Commit f0fda1f1 by BellCodeEditor

save project

parent 9c01b013
Showing with 12 additions and 8 deletions
if player==computer if a in jsj:
print("平局") if player==a
elif player=="剪刀"or a =="布" print("平局")
print("恭喜你!赢了") elif player=="剪刀"or a =="布"
elif play=="布" or a =="石头" print("恭喜你!赢了")
print("恭喜你,赢了") elif play=="布" or a =="石头"
elif play=="石头"or a=="剪刀" print("恭喜你,赢了")
else: elif play=="石头"or a=="剪刀"
else:
print("你输了")
eles:
print("你输了") 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