45. Python Program to Print given name in n times.
How does this program work?
- In this program we are going to learn about how to print given name in N times using Python.
Here is the code
a = input("Enter your name: ")
n = int(input("Enter the number you want to print that times: "))
i = 1
while i <= n:
print(a)
i+=1