Thank you Amulya for such wonderful explanation. I am referring all your videos. I didnt see this video yet and wrote my own code referring your graph at 0:04 . I tried to draw India Flag with AshokChakra having 24 spokes in it. import turtle t=turtle.Turtle() li=['green','white','orange'] def tiranga(color): t.begin_fill() t.fillcolor(color) for i in range(2): t.right(90) t.forward(400) t.right(90) t.forward(100) t.end_fill() def AshokChakra(): t.up() t.goto(200,200) t.down() t.color('blue') t.right(90) t.circle(50) t.up() t.goto(200,250) t.down() for i in range(1,25): t.fd(50) t.goto(200,250) t.left(15) t.pensize(2) t.up() t.goto(0,-300) t.left(90) t.down() t.goto(0,100) for i in range(3): t.fd(100) tiranga(li[i])
Another method which i created with your basics .thanks mam import turtle t=turtle.Turtle() t.speed(5) list=['green','white','orange'] t.pensize(4) for i in range(3): t.begin_fill() t.fillcolor(list[i]) t.lt(90) t.fd(100) t.fd(-100) t.setheading(0) t.fd(400) t.lt(90) t.fd(100) t.setheading(180) t.fd(400) t.end_fill() t.setheading(270) t.fd(900) t.up() t.goto(200,100) t.down() t.setheading(0) t.color('blue') t.circle(50) t.setheading(90) t.fd(50) for i in range(24): t.fd(45) t.bk(45) t.rt(15) turtle.done()
I have also subscribed immediately , really your teaching level one of the best , i am very happy to learn python from this channel really you are to good and your also explanation level is waoo such a great performance , Thanq soo much Big fan for teaching method 💐💐
Wow, Ma'am. thank you soo much for teaching us python, I have been good t python because of you. Thank you for helping us. Ma'am can you teach us how to make word document. i have subscribed you because you are helping us too. !!THANK YOU!!!
Here may be slightly difference: from turtle import* pensize(3) def rectangle(color): begin_fill() fillcolor(color) for i in range(2): forward(300) right(90) forward(50) right(90) end_fill() up() goto(0,-200) down() goto(0,300) rectangle("orange") goto(0,250) rectangle("white") goto(0,200) rectangle("green") up() goto(150,250) down() circle(-25) right(90) up() goto(150,225) down() for i in range(21): color("blue") forward(23) back(23) left(17) hideturtle()
thank you so much for this tutorial. i have a question. instead of drawing lines for the circle, i just used a different code to draw a full circle. Is it also correct? this is the code: t.up() t.goto(150,130) t.begin_fill() t.fillcolor("skyblue") t.circle(30) t.end_fill()
madam i write same code with u but show that => " Traceback (most recent call last): File "G:/Turtle Graphics/Flag.py", line 12, in t.up() TypeError: penup() missing 1 required positional argument: 'self' Process finished with exit code 1" i dont understand whta problem there!!!!!!
why does every time i run the code on jupyter notebook turtle does run but then says python turtle not responding also my orange box does have any color....help please!!!!!
how to draw a Bangladeshi national flag used python.. i am sharing my code and here has some problem ...please help me... import turtle def rectangle (color): t.begin_fill() t.fillcolor(color) for i in range(2): t.forward(400) t.right(90) t.forward(200) t.right(90) t.end_fill()
In the last line use turtle.exitonclick() If you put the commands into a file, you might have recognized that the turtle window vanishes after the turtle finished its movement. (That is because Python exits when your turtle has finished moving. Since the turtle window belongs to Python, it goes away as well.) To prevent that, just put turtle.exitonclick() at the bottom of your file. Now the window stays open until you click on it. If you are using IDLE it is not required. :)
you will get code to print star shape in google, then you just need to change color and background color Try by yourself if you need any help you can ask me back . :)
Thank you Amulya for such wonderful explanation. I am referring all your videos.
I didnt see this video yet and wrote my own code referring your graph at 0:04 . I tried to draw India Flag with AshokChakra having 24 spokes in it.
import turtle
t=turtle.Turtle()
li=['green','white','orange']
def tiranga(color):
t.begin_fill()
t.fillcolor(color)
for i in range(2):
t.right(90)
t.forward(400)
t.right(90)
t.forward(100)
t.end_fill()
def AshokChakra():
t.up()
t.goto(200,200)
t.down()
t.color('blue')
t.right(90)
t.circle(50)
t.up()
t.goto(200,250)
t.down()
for i in range(1,25):
t.fd(50)
t.goto(200,250)
t.left(15)
t.pensize(2)
t.up()
t.goto(0,-300)
t.left(90)
t.down()
t.goto(0,100)
for i in range(3):
t.fd(100)
tiranga(li[i])
AshokChakra()
Now i saw this video. Thanks for the colorCodes.
Good code sir
she did draw lines
I’ve subscribed immediately. You’re very patient and your teachings and drawings are excellent. Keep it up. Best channel👍
Thank you :)
Yes awesome 👏🏻
The flag was challenging but very satisfying in the end, great job of instructing
Glad you enjoyed it!
Another method which i created with your basics .thanks mam
import turtle
t=turtle.Turtle()
t.speed(5)
list=['green','white','orange']
t.pensize(4)
for i in range(3):
t.begin_fill()
t.fillcolor(list[i])
t.lt(90)
t.fd(100)
t.fd(-100)
t.setheading(0)
t.fd(400)
t.lt(90)
t.fd(100)
t.setheading(180)
t.fd(400)
t.end_fill()
t.setheading(270)
t.fd(900)
t.up()
t.goto(200,100)
t.down()
t.setheading(0)
t.color('blue')
t.circle(50)
t.setheading(90)
t.fd(50)
for i in range(24):
t.fd(45)
t.bk(45)
t.rt(15)
turtle.done()
Wowww😍😍😍 Thank you mam....
Hi mam I tried in my own way
i succeded😍 Thank you mam😘😘😘
I subscribed ur channel.
Because ur teaching style is marvelous 😘😘😘
Thank you :)
Excellent teaching mam... 👍🤩
I have also subscribed immediately , really your teaching level one of the best , i am very happy to learn python from this channel really you are to good and your also explanation level is waoo such a great performance , Thanq soo much Big fan for teaching method 💐💐
Thank you so much :)
Very good good video. Thanks and greetings from Colombia.
Thanks for watching! :)
Nice job , well teaching 👍🏻
Cool stuff. By the way how old are you?
شكراً لك يا اخي❤❤
what a smart little turtle that can draw the flag of India. great job. thanks. 5*)
My pleasure :)
Wow, Ma'am. thank you soo much for teaching us python, I have been good t python because of you. Thank you for helping us. Ma'am can you teach us how to make word document. i have subscribed you because you are helping us too. !!THANK YOU!!!
Cool vid thanks!
Thank you :)
Thank you🙏🙏
U teach very gud 😍come to my clg as a professor 😄😄😄😄
Thank you :)
Here may be slightly difference:
from turtle import*
pensize(3)
def rectangle(color):
begin_fill()
fillcolor(color)
for i in range(2):
forward(300)
right(90)
forward(50)
right(90)
end_fill()
up()
goto(0,-200)
down()
goto(0,300)
rectangle("orange")
goto(0,250)
rectangle("white")
goto(0,200)
rectangle("green")
up()
goto(150,250)
down()
circle(-25)
right(90)
up()
goto(150,225)
down()
for i in range(21):
color("blue")
forward(23)
back(23)
left(17)
hideturtle()
That's nice is it advance level python code ?? Please elaborate this logic
“Turtle” is a Python feature like a drawing board, we can draw different shapes over it.
This is the simple basic code :)
Thanks Amulya
Apke pattern program bhi bhut ache the
Thank you :)
amazing work. i learnt a lot by watching your videos...
thank you 3000
i just done a small pattern(my name).
from turtle import *
bgcolor("blue")
pencolor("orange")
width(15)
#v letter
left(110)
forward(110)
penup()
goto(0,0)
pendown()
right(40)
forward(110)
#i letter
penup()
goto(80,0)
setheading(90)
pendown()
forward(100)
penup()
goto(60,100)
right(90)
pendown()
forward(50)
penup()
goto(60,0)
pendown()
forward(50)
#j letter
pencolor("white")
penup()
goto(170,0)
setheading(90)
pendown()
forward(100)
penup()
goto(145,100)
right(90)
pendown()
forward(50)
penup()
goto(160,0)
left(150)
pendown()
circle(-90,30)
#A letter
pencolor("green")
penup()
goto(210,0)
right(45)
pendown()
forward(100)
left(209)
forward(100)
penup()
goto(220,40)
left(80)
pendown()
forward(30)
#y letter
penup()
goto(300,0)
left(70)
pendown()
forward(110)
penup()
goto(312,50)
left(50)
pendown()
forward(60)
thank you so much for this tutorial. i have a question. instead of drawing lines for the circle, i just used a different code to draw a full circle. Is it also correct?
this is the code:
t.up()
t.goto(150,130)
t.begin_fill()
t.fillcolor("skyblue")
t.circle(30)
t.end_fill()
This is covid
I mean cool video😂😂😂
Haha.. thank you 😊
You are super darling...😘😘
Thank you :)
madam i write same code with u but show that =>
" Traceback (most recent call last):
File "G:/Turtle Graphics/Flag.py", line 12, in
t.up()
TypeError: penup() missing 1 required positional argument: 'self'
Process finished with exit code 1"
i dont understand whta problem there!!!!!!
Give me the program i will check :)
import turtle
def ractangle(color):
t.begin_fill()
t.fillcolor(color)
for i in range(2):
t.forward(400)
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,400)
ractangle("green")
Sorry madam , i have got my mistake. i get it now!!
Thank You Madam!
How can we move objects in turtle graphics in python
Can we are jump the turtle with Co ordinate
Yes :)
You can use goto() and you can jump to any co ordinates :)
Thanks
Who to used Pygame module in python
Pygame does not come with Python. Like Python, Pygame is available for free. You will have to download and install Pygame.
How to install it please give me a link
Kindly share python OOPS concepts videos
Sure :)
How to make graphe window bigger because when i run the program i can't see all the flag even when i make it in full screen ?
very good
Thank you :)
why does every time i run the code on jupyter notebook turtle does run but then says python turtle not responding also my orange box does have any color....help please!!!!!
Add turtle.done() at the end and check :)
@@AmulsAcademy thanks it worked!!!!
I want to rotate Ashok chakra
How i can do this ??
Help plz
🙏🙏
That’s great
Thank you :)
Ma'am please make video on freegames module
Nice
Thank you :)
Saffron (244,196,48)
how to make the Ashok chakra lines shorter
short the radius
Spokes of the wheel are missing.
How to draw lines inside circle
how to draw a Bangladeshi national flag used python..
i am sharing my code and here has some problem ...please help me...
import turtle
def rectangle (color):
t.begin_fill()
t.fillcolor(color)
for i in range(2):
t.forward(400)
t.right(90)
t.forward(200)
t.right(90)
t.end_fill()
t = turtle.Turtle()
t.up()
t.pensize(4)
t.goto(0,-300)
t.down()
t.goto(0,300)
rectangle("green")
t.goto(0,250)
t.forward(200)
t.color("red")
t.circle(-50)
t.color("black")
import turtle
def rectangle (color):
t.begin_fill()
t.fillcolor(color)
for i in range(2):
t.forward(400)
t.right(90)
t.forward(200)
t.right(90)
t.end_fill()
t = turtle.Turtle()
t.up()
t.pensize(4)
t.goto(0,-300)
t.down()
t.goto(0,300)
rectangle("green")
t.goto(0,250)
t.up()
t.forward(200)
t.down()
t.begin_fill()
t.color("red")
t.circle(-50)
t.end_fill()
t.color("black")
t.hideturtle()
:)
Cursor screen par ruk nhi rha flag banne ke baad apne ap hi console screen band ho rhi hai
I am using pycharm
In the last line use turtle.exitonclick()
If you put the commands into a file, you might have recognized that the turtle window vanishes after the turtle finished its movement. (That is because Python exits when your turtle has finished moving. Since the turtle window belongs to Python, it goes away as well.) To prevent that, just put turtle.exitonclick() at the bottom of your file. Now the window stays open until you click on it.
If you are using IDLE it is not required.
:)
@@AmulsAcademy thanks..
where is sound ?
Audio is not playing ?
If I want to write jai Hind How To write it??
Django tutorial koren
Madam i want to drow somalia national flag help me
you will get code to print star shape in google, then you just need to change color and background color
Try by yourself if you need any help you can ask me back .
:)
can you make a palestinian flag , pleassssse🥺
Hello mem please make video in hindi
I have plans i will try :)
@@AmulsAcademy your voice is so nice
@@AmulsAcademy 👍
Thank you :)
hey greate videos. how can i get in touch with you?
Nice
Thank you :)