Answer to Question #318327 in Python for julie

Question #318327

write a program that asks the user to enter a name and then prints Howdy NAME. Your program should repeat these steps until the user inputs Sage. ["Sam", "Lisa", "Micha", "Dave", "Wyatt", "Emma", "Sage"]


1
Expert's answer
2022-03-26T02:39:01-0400
def print_name(list1):
    for i in list1:
        print('Howdy {}'.format(i))
print_name(["Sam", "Lisa", "Micha", "Dave", "Wyatt", "Emma", "Sage"])

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS