'''for row in moma: Gender = row Gender = Gender.title() if not Gender: Gender = "Gender Unknown/Other" row = Gender uniquenationalities =  for row in moma: Nationality = row if Nationality not in uniquenationalities: uniquenationalities.append(row) print(uniquenationalities) for row in moma: Nationality = row Nationality = Nationality.title() if not Nationality: Nationality = "Nationality Unknown" row = Nationality'''
What I expected to happen:
I only added a frequency table on top of the exercise so instead of taking the info they gave me, I could inspect the data myself.
What actually happened:
momalist (<class 'list'>) - actual + expected
Is it because I used two for loops instead of one as in the answer? If so, can someone explain?