impress your crush using python๐Ÿ˜๐Ÿ™Œ๐Ÿป

This is how we can impress our crush with python programming ๐Ÿ˜๐Ÿ™Œ๐Ÿป

Introduction:- You can impress your boyfriend or girlfriend using Python

Source Code:

 import math

from turtle import * 

def hearta(k):

    return 15*math.sin(k)**3

def heartb(k):

    return 12*math.cos(k)-5*\

    math.cos(2*k)-2*\

                 math.cos(3*k)-\

                 math.cos(4*k)

speed(0)

bgcolor("black")

for i in range(10000): 

     goto(hearta (i)*20,heartb(i)*20)

     for j in range(5): 

         color("#f73487")

     goto(0,0)

done()

Post a Comment

1 Comments