Hello coders, today we have something intersecting with us. We will use the TURTLE module in python to propose your crush. This is gonna be fun. Turtle is a fun module that can do a lot of crazy stuff and we will be covering it all for you later in the blog. So first of all import the turtle module and start writing the code
This project is very simple as the module does all the job on its own.
1.Import the module.
2.specify your color requirements.
3.now specify a inbuilt fuction.
4.copy all dimensions given below in the code.
5.end the function
ENJOY!!
If you guys have any query just comment down below. ALL THE BEST!!
from turtle import *
color("black", "red")
begin_fill()
left(50)
forward(100)
circle(40, 180)
left(260)
circle(40, 180)
forward(100)
end_fill()
done()
# after writing the code run in the terminal.
Magnificent 👍🏻
ReplyDeleteThanks for support !!!
Deletethanks bruda
ReplyDeleteNever mind
ReplyDelete