Python turtle code | Beautiful design using python pydroid 3 app | python tutorial

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Best design
Can you share the explaination of the python turtle code

Gulnaz
Автор

Can you provide your code of every project in description box or comment box?
I like your cool project#🎉

thejnvboy.
Автор

#python turtle code 100
#beautiful desing in python
import turtle
t=turtle.Turtle ()
s=turtle.Screen()
s.bgcolor ('black')
t.width(3)
t.speed(25)
col=('magenta', 'yellow', 'green')
for i in range (500):
t.pencolor(col[i%3])
t.forward(i*4)
t.right(121)

TOTALWARRIORGAMING
Автор

#python turtle code 100
beautiful desing in python
Import turtle()
t=turtle.screen()
s.bgcolor ('black')
t.width(3)
t.speed(35)
col=('magenta', 'yellow', 'green')
for i in range (500):
t pencolor(col[i%3])
t.forward(i*4)
t.right(121)

DpRox-rm
Автор

Which extension do you use to produce such an output after writing the code? Someone please explain I don't understand

hossnychandoh
Автор

Can I use it in pc? How to get the output in this case? I'm using Sublime text. And F5 is not working. Kindly help

jesuswins
Автор

Ma'am where to tap to get output or to run ??
Please reply

amoghganiger
Автор

Awesome, but please how could I code myself and what is the program 😅😅🤍

Goat-bukl
Автор

can u pls tell which website u r using?

shadowfightgod
Автор

Здравствуйте! А можно написать-показать крутящуюся сферу (как арбуз с полосками), возможность менять цвета?

oleksandrpetrov
Автор

Not works, error:Traceback (most recent call last):
File "/data/user/0/ru.iiec.pydroid3/files/temp_iiec_codefile.py", line 6, in <module>
s.color("black")

AttributeError: 'function' object has no attribute 'bgcolor'

oggy-ly
Автор

Mobile phone me kon sa application use ho raha hai ?
Please reply.

VNZx-xues
Автор

I have no PC or laptop
I want to learn programming language using mobile phone .
How ?

VNZx-xues
Автор

Heres my edit that changes it to rainbow colors:

import turtle
import colorsys
t=turtle.Turtle()
s=turtle.Screen()
s.bgcolor('black')
t.width(3)
t.speed(0)
h=0
for i in range(500):
c = colorsys.hsv_to_rgb(h, 1, 1)
col=(c)
h += 0.005
t.pencolor(col)
t.forward(i*4)
t.right(121)
draw()
done()

PDavidFoxII
Автор

I found this an error after doing this

Mister.poor.innocent.
Автор

Koi app batao jispe python code likh sake

saklain_vlogs
Автор

# python turtle code
# beautiful design in python
import turtle
t=turtle.Turtle()
s=turtle.screen()
s=bgcolor('black')
t.width(3)
t.speed(25)
col=('magneta', 'yellow', 'green')
for i in range (500):
t.pencolor(col[i%3])
t.forward(i*4)
t.right(121)
Pls tell why not working

iampw
Автор

Bro an error "LOGS" I don't know what's it😢

Royal_mindset
Автор

You can also change the speed i run it in 500 speed it was so fast

_vandana_
Автор

# pyhthon turtle code 10
#beautiful design in pyhthon
import turle
t=turtle. Turtle()
s=turtle.Screen()
s.bgcolor('black')
t.width(3)
t.speed(25)
col=('magenta', 'yellow', 'green')
for i in range(500):
t.pencolor(col[i%3])
t.forward(i*4)
t.right(121)




Is not working

shukurjonislomov