Commit f6b0c09f by BellCodeEditor

save project

parent 9f06da46
Showing with 10 additions and 14 deletions
import random
neme=input("石头剪刀布")
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()
import turtle
pen = turtle.Pen()
pen.fillcolor("red")
pen.begin_fill()
for i in range(5):
pen.forward(200)
pen.right(144)
pen.end_fill()
pen.hidrturtle()
turtle.done()
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