This is a Python question. How do I get the following code to create a numerical list of guest names: guest_name = "" counter = 0 output = "" while True: guest_name = input("Guest's Name (or press...


This is a Python question. How do I get the following code to create a numerical list of guest names:


guest_name = ""
counter = 0
output = ""
while True:
guest_name = input("Guest's Name (or press Enter to quit): ")
if guest_name.lower() != "":
continue


elif guest_name.lower() == "" :
break


i = 0
print("My Wedding Attendees are: ")


output = output + str(counter + 1) + "." + guest_name + "\n"


print(output)



Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here