Writing I love you 1000 times, will impress your crush. But to impress her you need to know how to write I love you 1000 times in Python.
I am sure you cannot just write by hand or copy-paste “the same line “I love you” 1000 times unless your love is strong.
Using just print() function and * operator:
print("I Love You\n" * 1000)
Using for loop:
for i in range(1000):
print("I Love You")
Using While loop:
i = 1
while(i < 1001):
print("I Love You")
i = i + 1
Well, I am sure this code will impress your crush.
HAPPY CODING