I am trying to have the user input delivery information and use the for loop. I keep getting an IndexError: list assignment index out of range
I want it to print and have the user input each item then after ask if info is correct and if not return them. However, I cannot get to for statement correct after trying multiple ways. Thank you.
address = []
address_info = ('Name:', 'Address:', 'City:', 'State', 'Zip Code')
print('***DELIVERY METHOD***')
print('Please enter the info below from customer...')
for x in address_info:
address[x] = input(address_info[x])
x += 1