Commit 29e5305f by BellCodeEditor

save project

parent 7e8823ff
Showing with 5 additions and 11 deletions
import random
import turtle list=["石头" "剪刀" "布" ]
ink = input("什么色?") computer=random.choice(list)
pen = turtle.Pen() print(computer)
pen.fillcolor(ink) \ No newline at end of file
pen.begin_fill()
for i in range(5):
pen.forward(200)
pen.right(144)
pen.end_fill()
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