Commit acd46279 by BellCodeEditor

auto save

parent d9e6b281
Showing with 38 additions and 11 deletions
with open(r'c:\Users\LEGO\Documents\lesson13-1\sales_list.txt',"r",encoding='utf-8') as file: import turtle
a=file.readlines() a=turtle.Pen()
b=a[0] a.penup()
c=0 a.goto(0,-150)
for i in b: a.pendown()
c=c+1 a.circle(200)
print(c) a.penup()
d=b[3:64] a.goto(90,90)
print(d) a.pendown()
a.fillcolor("blue")
\ No newline at end of file a.begin_fill()
a.circle(15)
a.end_fill()
a.penup()
a.goto(-90,90)
a.pendown()
a.begin_fill()
a.circle(15)
a.end_fill()
a.penup()
a.goto(0,80)
a.pendown()
a.right(60)
a.forward(100)
a.right(120)
a.forward(100)
a.right(120)
a.forward(100)
a.penup()
a.goto(-100,-50)
a.pendown()
a.goto(0,-90)
a.goto(100,-50)
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