A few fixes:
- Added list, and need to unpack the list in the end.
print("Hello world")
qstn_1="What is your name?\t"
qstn_2="Where would you like to GO for vacation?\t"
polling_active=True
name_lst = []
place_lst = []
while polling_active:
name_lst.append(input(qstn_1))
place_lst.append(input(qstn_2))
other=input("Would you like other person to answer these survey questions ?\t\n")
polling_active=False
if other=='yes':
polling_active=True
print("\n\n\t\t\tPOLLING RESULTS\n")
for i_name, i_place in zip(name_lst, place_lst):
print("\n\n\t" + i_name.title() + " would like to go to " + i_place + " for a vacation!\n")
CLICK HERE to find out more related problems solutions.