From 0c56f8a2579fb62a1ead60c1efb8bf5fff404c71 Mon Sep 17 00:00:00 2001 From: 10_2 Date: Sat, 28 Dec 2024 14:09:50 +0800 Subject: [PATCH] Signed-off-by: 10_2 --- .idea/.gitignore | 8 ++++ .../inspectionProfiles/profiles_settings.xml | 6 +++ .idea/misc.xml | 7 ++++ .idea/modules.xml | 8 ++++ .idea/钟淇奕.iml | 10 +++++ 11.16.py | 1 + 12.28.py | 4 ++ main.py | 0 test.py | 37 +++++++++++++++++++ 9 files changed, 81 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/钟淇奕.iml create mode 100644 11.16.py create mode 100644 12.28.py create mode 100644 main.py create mode 100644 test.py diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..35410ca --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..9b73350 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..7b071b0 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/钟淇奕.iml b/.idea/钟淇奕.iml new file mode 100644 index 0000000..8e0301c --- /dev/null +++ b/.idea/钟淇奕.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/11.16.py b/11.16.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/11.16.py @@ -0,0 +1 @@ + diff --git a/12.28.py b/12.28.py new file mode 100644 index 0000000..ba17335 --- /dev/null +++ b/12.28.py @@ -0,0 +1,4 @@ +name='钟淇奕' +age=9 +print("你的名字叫name") +print("你的") \ No newline at end of file diff --git a/main.py b/main.py new file mode 100644 index 0000000..e69de29 diff --git a/test.py b/test.py new file mode 100644 index 0000000..202c21c --- /dev/null +++ b/test.py @@ -0,0 +1,37 @@ +import turtle +t=turtle.Turtle() +t.speed(0) +t.color("red","red") +t.begin_fill() +t.penup +t.goto(-300,200) +t.pendown +t.goto(300,200) +t.goto(300,-200) +t.goto(-300,-200) +t.goto(-300,200) +t.end_fill() +def hua(size,x,y,angle=0): + t.penup() + t.goto(x,y) + t.setheading(angle) + t.pendown() + t.color("yellow","yellow") + t.begin_fill() + for i in range(5): + t.forward(size) + t.right(144) + t.forward(size) + t.left(72) + t.end_fill() +hua(30, -250, 150) +hua(9, -150, 180, 30) +hua(9, -130, 130, 45) +hua(9, -140, 80, 0) +hua(9, -200, 50, -30) +t.penup() +t.goto(0,-300) +t.pencolor("black") +t.pendown() +t.write('中国',font=("楷体","20","normal")) +turtle.done()