Commit 70bd006d by BellCodeEditor

save project

parent 7f36ebb7
Showing with 11 additions and 5 deletions
import random import turtle
list=["石头","剪刀","布"] pen=turtle.Pen()
computer=random.choices(list) pen.shape("turtle")
print(computer) pen.begin_fill()
\ No newline at end of file pen.fillcolor("red")
for i in range(36):
pen.forward(200)
pen.left(170)
pen.end_fill()
turtle.done()
\ 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