Print Your Name in python using turtle#short #youtubeshorts #python #turtle #short #programmer

Print Your Name in python using turtle#short #youtubeshorts #python #turtle #short #programmer

Code Blend

2 года назад

79,743 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

APNA CODING
APNA CODING - 21.10.2023 11:13

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)

Ответить
MD NOOR PARWEZ
MD NOOR PARWEZ - 01.09.2023 19:55

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

Ответить
Dinakaran v
Dinakaran v - 27.08.2023 11:25

Bro how to run python turtle in vs code

Ответить
tejedits chanel
tejedits chanel - 23.08.2023 14:35

pls tell where to download python

Ответить
Code Blend
Code Blend - 07.06.2023 13:44

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)

Ответить
A.K.M ZAKIR HOSSAIN
A.K.M ZAKIR HOSSAIN - 06.06.2023 19:47

It is just edit.

There is something wrong in line 8

Ответить
DHRUV GAMER
DHRUV GAMER - 30.03.2023 11:41

Please code

Ответить
Your Dream Would
Your Dream Would - 24.02.2023 22:51

Sourse code plz

Ответить
Mr Code Box
Mr Code Box - 08.02.2023 14:41

Please give me the source code

Ответить
SK Pro GamerZ
SK Pro GamerZ - 04.02.2023 19:30

Bro what is last line

Ответить
Afnan Saif
Afnan Saif - 04.02.2023 14:45

bro paste this coding in comment

Ответить
praxhant_singh
praxhant_singh - 23.01.2023 06:49

Bro source code ?

Ответить
Puji Creations
Puji Creations - 12.01.2023 13:11

Source code

Ответить
Delta Gaming
Delta Gaming - 15.12.2022 22:37

thanks..bro

Ответить
Code Blitz
Code Blitz - 25.11.2022 13:55

Source code plzz

Ответить
Ayush Kohli
Ayush Kohli - 23.09.2022 20:37

Not working bro

Ответить
Saran SB
Saran SB - 26.03.2022 19:58

bro source code bro please

Ответить