Make Indian flag using Python | Python tutorials and projects with code for beginners | CoderisLive.

Pubblicato il: 05 marzo 2022
sul canale di: CoderisLive
387
36

Hi , This is MRIDUL DHAMIJA |
CoderisLive is my attempt and a new beginning with you to teach basics of python and also other different computer languages i.e.Java C C++ etc . I will timely provide you tutorials and projects of every language to learn in an easy manner . Source code and other resource will be hosted in the description box . Deep infomative videos will be pushed to you as early as possible

*Source code :

import turtle
def rectangle(color):
t.begin_fill()
t.fillcolor(color)
for i in range(2):
t.forward(300)
t.right(90)
t.forward(100)
t.right(90)
t.end_fill()

t = turtle.Turtle()
t.up()
t.goto(0,-300)
t.down()
t.goto(0,200)
rectangle("orange")

t.goto(0,100)
t.forward(150)
t.color("blue")
t.circle(-50)
t.right(90)
t.forward(50)
t.left(90)
for i in range(24):
t.fd(45)
t.bk(45)
t.left(15)
t.left(90)
t.forward(50)
t.right(90)



t.color("black")
t.forward(150)
t.right(90)
t.forward(100)
t.right(90)
t.forward(300)
t.right(90)
t.forward(100)
t.right(90)

t.goto(0,0)

rectangle("green")

#CoderisLive #python #Tutorials #projects


In questa pagina del sito puoi guardare il video online Make Indian flag using Python | Python tutorials and projects with code for beginners | CoderisLive. della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CoderisLive 05 marzo 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 387 volte e gli è piaciuto 36 spettatori. Buona visione!