Showing posts with label #indian flag. Show all posts
Showing posts with label #indian flag. Show all posts

Wednesday, June 30, 2021

Draw VIRUS STRUCTURE in python

 Hi Everyone,

For more python project and there code follow us.....

Welcome to our blog to learn coding and get python codes.

To write python code you install pycharm (its my suggestion) app in your laptop or desktop.And you can also write python codes in mobile phone. If you
like write codes in mobile phone you should install "PYDROIDE 3"app
(https://play.google.com/store/apps/details?id=ru.iiec.pydroid3)pydroide 3


project image

this is our project image☝



This is our project video☝

This is our project code👇


import turtle

a=0
b=0
turtle.bgcolor("black")
turtle.speed(0)
turtle.pencolor("red")
turtle.penup()
turtle.goto(0,200)
turtle.pendown()

while True:
    turtle.forward(a)
    turtle.right(b)
    a+=3
    b+=1
    if b==200:
        break

turtle.done()

Tuesday, June 29, 2021

Draw BROKEN HEART💔 by using Python

Hi Everyone,

For more python project and there code follow us.....

Welcome to our blog to learn coding and get python codes.

To write python code you install pycharm (its my suggestion) app in your laptop or desktop.


This is our project BROKEN 💔 HEART image 👆






this project code is here👇


import turtle
s=turtle.Screen().bgcolor("black")
t=turtle.Turtle()
t.speed(0)
t.width(12)

def curve():
    for i in range (200):
        t.right(1)
        t.forward(1)

def heart():
    t.color("red","red")
    t.begin_fill()
    t.left(140)
    t.forward(113)
    curve()
    t.left(120)
    curve()
    t.forward(112)
    t.end_fill()

heart()
t.pencolor("black")
t.penup()
t.goto(0,170)
t.pendown()
for zigzag in range (3):
    t.left(75)
    t.forward(40)
    t.right(65)
    t.forward(45)

turtle.done

Wednesday, June 23, 2021

Python 3rd project

Hi Everyone,

For more python project and there code follow  us.....

Welcome to our blog to learn coding and get python codes.

To write python code you install pycharm (its my suggestion) app in your laptop or desktop.






☝️This is our beautiful project image 



This is our beautiful project video☝


this project code is here👇

import turtle

t=turtle.Turtle()
s=turtle.Screen()

s.bgcolor("black")
t.width(2)
t.speed(15)

col=("pink","blue","yellow")

for i in range(300):
t.pencolor(col[i%3])
t.forward(i*4)
t.right(121)

Tuesday, June 22, 2021

Drawing INDIAN FLAG by using python

  Hi Everyone,

Welcome to our blog to learn coding and get python codes.

To write python code you install pycharm (its my suggestion) app in your laptop or computer.

Today we are draw INDIAN FLAG by using Python.








This is☝ our first python project. Amazing beautyfull design by python laungauge.

This project source code here .👇


import turtle

flag = turtle.Turtle()
turtle.bgcolor("white")
flag.speed(3)
flag.pensize(5)
flag.color("blue")
def draw(x,y):
flag.penup()
flag.goto(x,y)
flag.pendown()

for i in range(24):
flag.forward(80)
flag.backward(80)
flag.left(15)
draw(0, -80)

flag.circle(80, 360)
#green rectangle
flag.color("green")
flag.begin_fill()
flag.forward(350)
flag.backward(700)
flag.right(90)
flag.forward(150)
flag.left(90)
flag.forward(700)
flag.left(90)
flag.forward(150)
flag.left(90)

flag.end_fill()

#orange rectangle
flag.color("orange")
draw(-350,80)
flag.begin_fill()
flag.right(180)
flag.forward(700)
flag.left(90)
flag.forward(150)
flag.left(90)
flag.forward(700)
flag.left(90)
flag.forward(150)
flag.left(90)



flag.end_fill()
turtle.done()


from turtle import * bgcolor('black') pensize(2) speed(11) hideturtle() for i in range(220): color('yellow') circle...