Commit e6b85f87 by BellCodeEditor

save project

parent 64beb537
s={w:w}
s[a]
print(s)
\ No newline at end of file
import turtle as t
p=t.Pen()
a=72
for i in range(5):
p.forward(100)
p.setheading(a)
a=a+72
t.done()
\ No newline at end of file
import turtle as t
p=t.Pen()
p.penup()
p.goto(-100,100)
p.pendown()
for i in range(4):
p.forward(200)
p.right(90)
a=pow(2,0.5)
b=100*a
p.penup()
p.goto(0,-b)
p.pendown()
p.circle(b)
t.done()
\ No newline at end of file
import turtle as t
import random as r
p=t.Pen()
points=[198,98,231,57,38,23,54,4]
p.pencolor("red")
p.pensize(5)
for i in range(4):
a=points[r.randint(0,7)]
b=points[r.randint(0,7)]
c=r.randint(5,100)
p.penup()
p.goto(a,b)
p.pendown()
for l in range(6):
p.forward(c)
p.forward(-c)
p.left(60)
t.done()
\ No newline at end of file
dict={'lbw':2000000,'cdz':37000000,'wdc':25}
dict['lbw']=5000000
print(dict['wdc'])
\ No newline at end of file
import turtle as t
p=t.Pen()
a=0
for i in range(12):
p.setheading(a)
p.forward(50)
a=a+30
t.done()
\ No newline at end of file
import turtle as t
import random as r
p=t.Pen()
ls1=[20,40,60]
ls2=["red","green","yellow"]
a=0
for i in range(3):
p.pencolor(ls2[r.randint(0,2)])
p.pendown()
p.circle(ls1[a])
p.penup()
p.goto(0,-ls1[a])
a=a+1
t.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