How to impress a girlfriend heart using python

Let’s move on to an awesome project on how to impress your girlfriend or Boyfriend’s heart using python heart ❤️. Before getting into this we will have a python and turtle graphics library. In this case, I will use pycharm IDE

How to install pycharm in windowshttps://iterathon.tech//how-to-install-the-pycharm-in-windows/

Open New Projects

After opening a pycharm click on a new project and you can give it any name as a my_heart. In this project.

Once you give it a name and click on the create. It takes few seconds to create the project, On the current project there are some existing files are found in ide so, delete all those files using Ctrl+A and Backspace. Now Python is ready to code before that we need one awesome python packages called turtle.

Turtle graphics

Turtle graphics is a popular way of introducing programming to kids. It was part of the original Logo programming language developed by Wally Feurzeig, Seymour Papert, and Cynthia Solomon in 1967.

After getting into the link. You have to some basics of a turtle. Install commentpip install turtle for windows, for mac python3 -m pip install turtle

Link to know about turtle graphics: https://docs.python.org/3/library/turtle.html

Again go to the pycharm and click terminal then paste the magical word pip install turtle. It takes few seconds to install packages. Once the package gets installed, Go to your project my_heart.

Code

This is an easy and crazy python project to impress a crush. Let’s further move on to the python program.

# Awesome Project

from turtle import *
import time
color('red')
begin_fill()
pensize(10)
left(50)
forward(133)
circle(50, 200)
right(140)
circle(50, 200)
forward(133)
end_fill()
color('black')
left(51)
forward(130)
color('green')
left(270)
forward(80)
circle(40, 190)
left(349)
forward(68)
time.sleep(8)

Output

Related Post

How to Impress a Girlfriendhttps://iterathon.tech//how-to-impress-a-girlfriend-using-python/

Random Password Generator in Pythonhttps://iterathon.tech//random-password-generator-in-python/

Difference between Data Science Vs Machine learning? : https://cybrblog.tech/difference-between-data-science-vs-machine-learning/