Write a program to repeat the string “GOOD MORNING” n times. Here n is an integer entered by the user.

n = int(input(“How many times you want to repeat message”))
for num in range(n):
    print(“GOODMORNING”)   

Leave a Comment

Your email address will not be published. Required fields are marked *

error: Content is protected !!
Scroll to Top