January 18, 2023
--- Indian Flag๐ฎ๐ณ๐ฎ๐ณ Source Code ---
import turtle
from turtle import *
# setting the screen for drawing
scr = turtle.Screen()
# Defining the instance of turtle
ttl = turtle.Turtle()
speed(20)
# keeping the pen up initially
ttl.penup()
ttl.goto(-150, 125)
ttl.pendown(
)
# Drawing the Orange Rectangle first
#and then the white rectangle
ttl.color("orange")
ttl.begin_fill()
ttl.forward(400)
ttl.right(90)
ttl.forward(84)
ttl.right(90)
ttl.forward(400)
ttl.end_fill()
ttl.left(90)
ttl.forward(84)
# now drawing the Green Rectangle
ttl.color("green")
ttl.begin_fill()
ttl.forward(84)
ttl.left(90)
ttl.forward(400)
ttl.left(90)
ttl.forward(84)
ttl.end_fill()
# Drawing the central Big Blue Circle
ttl.penup()
ttl.goto(35, 0)
ttl.pendown()
ttl.color("navy")
ttl.begin_fill()
ttl.circle(35)
ttl.end_fill()
# Drawing the in-circle Big White Circle
ttl.penup()
ttl.goto(30, 0)
ttl.pendown()
ttl.color("white")
ttl.begin_fill()
ttl.circle(30)
ttl.end_fill()
#Drawing the inside Mini Blue Circles of Flag
ttl.penup()
ttl.goto(-27, -4)
ttl.pendown()
ttl.color("navy")
for j in range(24):
ttl.begin_fill()
ttl.circle(2)
ttl.end_fill()
ttl.penup()
ttl.forward(7)
ttl.right(15)
ttl.pendown()
# drawing the Smaller Blue Circle
ttl.color("navy")
ttl.penup()
ttl.goto(10, 0)
ttl.pendown()
ttl.begin_fill()
ttl.circle(10)
ttl.end_fill()
#Drawing the 24 spokes of the Indian Flag
ttl.penup()
ttl.goto(0, 0)
ttl.pendown()
ttl.pensize(1)
for j in range(24):
ttl.forward(30)
ttl.backward(30)
ttl.left(15)
#Drawing the stick of the Indian flag
ttl.color("Brown")
ttl.pensize(10)
ttl.penup()
ttl.goto(-150,125)
ttl.right(180)
ttl.pendown()
ttl.forward(500)
#to hide the turtle pen we used hideturtle
ttl.hideturtle()
#holding the output on the window
turtle.done()
import turtle
from turtle import *
# setting the screen for drawing
scr = turtle.Screen()
# Defining the instance of turtle
ttl = turtle.Turtle()
speed(20)
# keeping the pen up initially
ttl.penup()
ttl.goto(-150, 125)
ttl.pendown(
)
# Drawing the Orange Rectangle first
#and then the white rectangle
ttl.color("orange")
ttl.begin_fill()
ttl.forward(400)
ttl.right(90)
ttl.forward(84)
ttl.right(90)
ttl.forward(400)
ttl.end_fill()
ttl.left(90)
ttl.forward(84)
# now drawing the Green Rectangle
ttl.color("green")
ttl.begin_fill()
ttl.forward(84)
ttl.left(90)
ttl.forward(400)
ttl.left(90)
ttl.forward(84)
ttl.end_fill()
# Drawing the central Big Blue Circle
ttl.penup()
ttl.goto(35, 0)
ttl.pendown()
ttl.color("navy")
ttl.begin_fill()
ttl.circle(35)
ttl.end_fill()
# Drawing the in-circle Big White Circle
ttl.penup()
ttl.goto(30, 0)
ttl.pendown()
ttl.color("white")
ttl.begin_fill()
ttl.circle(30)
ttl.end_fill()
#Drawing the inside Mini Blue Circles of Flag
ttl.penup()
ttl.goto(-27, -4)
ttl.pendown()
ttl.color("navy")
for j in range(24):
ttl.begin_fill()
ttl.circle(2)
ttl.end_fill()
ttl.penup()
ttl.forward(7)
ttl.right(15)
ttl.pendown()
# drawing the Smaller Blue Circle
ttl.color("navy")
ttl.penup()
ttl.goto(10, 0)
ttl.pendown()
ttl.begin_fill()
ttl.circle(10)
ttl.end_fill()
#Drawing the 24 spokes of the Indian Flag
ttl.penup()
ttl.goto(0, 0)
ttl.pendown()
ttl.pensize(1)
for j in range(24):
ttl.forward(30)
ttl.backward(30)
ttl.left(15)
#Drawing the stick of the Indian flag
ttl.color("Brown")
ttl.pensize(10)
ttl.penup()
ttl.goto(-150,125)
ttl.right(180)
ttl.pendown()
ttl.forward(500)
#to hide the turtle pen we used hideturtle
ttl.hideturtle()
#holding the output on the window
turtle.done()
๐360โค61๐ฅ51๐ฑ9๐ข9โก8๐6๐5๐คฏ4๐ฅฐ2๐2
January 26, 2023
Python Projects & Free Courses pinned ยซ--- Indian Flag๐ฎ๐ณ๐ฎ๐ณ Source Code --- import turtle from turtle import * # setting the screen for drawing scr = turtle.Screen() # Defining the instance of turtle ttl = turtle.Turtle() speed(20) # keeping the pen up initially ttl.penup()โฆยป
January 27, 2023
Who is the Father of Computer ๐ค
Anonymous Quiz
18%
Dennis Ritchie
74%
Charles Babbage
8%
James Gosling
๐165๐ฅ28๐ฅด14โค11๐10๐ฅฐ9๐4๐ฑ4๐1
January 30, 2023
February 13, 2023
Did you register in above Free Python & Coding Course Opportunity ๐ค๐ค
Anonymous Poll
63%
Yes done โ
37%
Doing SignUp now ๐
๐35โค18๐ฅฐ8๐ฅ7๐6๐คฉ5
February 23, 2023
February 27, 2023
Important Methods in Python Programming
๐88โค28๐ฅ8๐ค4๐3
March 2, 2023
March 6, 2023
What is output of print(math.pow(3, 2))?
Anonymous Quiz
31%
9.0
49%
9
11%
None
9%
None of the mentioned
๐111๐ฅ34๐ค17๐11๐ฅฐ9โค7๐7๐3๐2
March 10, 2023
Important Computer Shortcuts ๐ป
๐56โค37๐24๐ฅ13๐8โก6๐คฉ5๐ฅฐ4
March 13, 2023
Top 50 HR Interview Questions with Answers โ
๐72โค23๐ฅ9๐5๐ฅฐ2๐คฏ2๐1
March 21, 2023