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

Veröffentlicht am: 05 März 2022
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Make Indian flag using Python | Python tutorials and projects with code for beginners | CoderisLive. mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer CoderisLive 05 März 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 387 Mal angesehen und es wurde von 36 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!