The question I need help with is:
Write a program that stores the names of ten countries in column1 and their capitals in column2. The program should then pick a random country and ask the user for the capital.
Display an appropriate message to the user to show whether they are right or wrong.
So far I have
column1 = [] column2 = [] listoflist = [(column1)(column2)] maxlength = 10 while len (column1) < maxlength: country = input("please enter a country: ") capital = input("please enter the capital of the country entered: ") column1.append(country) column2.append(capital) for item in done: print (item[0],item[1]) if anyone can help please.