I'm trying to create lists/ records using the input function and 'for' loops, but I can't seem to get more than one list to populate. Ideally, I like to be able to define the number of sub-lists I want to create and then input the information per list until the total number of specified lists has been created.
def new_row(n):
for i in n:
y = []
month = input('Enter the month: ')
city = input('Enter the city: ')
numCoups = input('Enter the number of coupons accepted: ')
numAds = input('Enter the number of advertisments ran: ')
l = [month, city, numCoups, numAds]
y.append(l)
new_row(input('How many entries do you wish to input'))