x = str(input("Enter the Name :"))
y = int(input("Enter the number of times to print: "))
for i in range (1,y+1):
print(x)
Note: Need to be arranged in compiler after copied
OutPut:
Enter the Name :Python
Enter the number of times to print: 4
Python
Python
Python
Python
Enter the number of times to print: 4
Python
Python
Python
Python