Commit 31c7dfb4 by BellCodeEditor

auto save

parent 10c76954
Showing with 20 additions and 13 deletions
#"""读取csv文件"""" import turtle as t
import csv t.pensize(1)
t.penup()
with open('report.csv',"r",encoding="utf-8") as f: t.goto(-90,0)
f_csv = csv.reader(f) t.pendown()
f_csv = list(f_csv) for i in range(3):
pipi = f_csv[7] t.fd(180)
print(pipi) t.left(120)
for row in f_csv: t.fd(90)
print(row[3]) t.fillcolor("blue")
\ No newline at end of file t.begin_fill()
t.circle(50)
t.end_fill()
t.setheading(90)
t.fd(90*3**0.5)
t.hideturtle()
t.done()
\ No newline at end of file
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
聪聪,65,76,97,66,73,78,58,66,69 聪聪,65,76,97,66,73,78,58,66,69
波奇,74,67,61,72,66,81,75,79,80 波奇,74,67,61,72,66,81,75,79,80
九尾,88,85,80,78,74,90,81,69,70 九尾,88,85,80,78,74,90,81,69,70
皮皮,77,87,83,69,90,79,71,74,69 皮皮,77,87,83,69,90,79,71,74,69
\ No newline at end of file \ 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