Комментарии:
Ye rha sorsh code
import turtle as t
t.pen()
t.bgcolor("black") colors=["red","green","yellow","blue","gray","purple","a
qua","brown"]
name=t.textinput("enter your name",
"Enter Your name") int((i*2+4)/4),"bold")) t.left(360/s+4)
s=int(t.numinput("Number of sides", "How many sides you want(1-20)",10,1,20))
for i in range(100):
t.pencolor(colors[i%s%5])
t.penup()
t.forward(i*5)
t.pendown() t.write(name,font=("",int((i*2+4)/4),"bold")) t.left(360/s+4)
this is really a great program but there r few mistakes in it dude just change it then this program will work correctly. for correction of this program ping me
ОтветитьBro how to run python turtle in vs code
Ответитьpls tell where to download python
ОтветитьGuys here is the code and sorry for the delay..
import turtle as t
t.pen()
t.bgcolor("black")
colors=["red","green","yellow","blue","gray","purple","aqua","brown"]
name=t.textinput("enter your name",
"Enter Your name")
s=int(t.numinput("Number of sides",
"How many sides you want(1-20)",10,1,20))
for i in range(100):
t.pencolor(colors[i%s%5])
t.penup()
t.forward(i*5)
t.pendown()
t.write(name,font=("",
int((i*2+4)/4),"bold"))
t.left(360/s+4)
It is just edit.
There is something wrong in line 8
Please code
ОтветитьSourse code plz
ОтветитьPlease give me the source code
ОтветитьBro what is last line
Ответитьbro paste this coding in comment
ОтветитьBro source code ?
ОтветитьSource code
Ответитьthanks..bro
ОтветитьSource code plzz
ОтветитьNot working bro
Ответитьbro source code bro please
Ответить