Write a program to repeat the string ‘‘GOOD MORNING” n times. Here ‘n’ is an integer entered by the user
n = int(input('Enter value: ')) # user input
for i in range(n):
print('GOODMORNING')
Study more about Python at Python Class 10
1.5k questions
1.4k answers
4 comments
12.3k users