Commit c4ce54d6 by BellCodeEditor

save project

parent d53685ea
Showing with 73 additions and 0 deletions
from tkinter import filedialog
path=filedialog.askopenfilenames(title="选择图片文件",filetypes=[("All Files","*")],initialdir="./")
print(path)
\ No newline at end of file
from tkinter import filedialog
path=filedialog.askopenfilenames(title="选择图片文件",filetypes=[("All Files","*")],initialdir="./")
print(path)
\ No newline at end of file
import turtle as p import turtle as p
p.speed(100)
p.pensize(5) p.pensize(5)
p.penup() p.penup()
p.left(80) p.left(80)
...@@ -22,6 +23,69 @@ p.fd(90) ...@@ -22,6 +23,69 @@ p.fd(90)
p.circle(-40,70) p.circle(-40,70)
p.end_fill() p.end_fill()
p.penup()
p.goto(-70,100)
p.pendown()
p.fillcolor("red")
p.begin_fill()
p.seth(180)
p.fd(-120)
p.right(180)
p.right(90)
p.circle(-60,180)
p.end_fill()
p.penup()
p.goto(-130,10)
p.pendown()
p.fillcolor("yellow")
p.begin_fill()
p.left(40)
p.fd(40)
p.left(90)
p.fd(100)
p.right(-90)
p.fd(30)
p.right(-90)
p.fd(60)
p.left(-96)
p.fd(80)
p.end_fill()
p.left(180)
p.fd(80)
p.left(96)
p.fd(60)
p.fillcolor("green")
p.begin_fill()
p.circle(-15,180)
p.end_fill()
p.fillcolor("black")
p.begin_fill()
p.penup()
p.goto(-123,180)
p.pendown()
p.right(36)
p.fd(100)
p.right(90)
p.fd(40)
p.left(90)
p.fd(-100)
p.end_fill()
......
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