number = int(input())
countries = random.sample(capital, number)
for country in countries:
    guess = input('What is the capital of {}?'.format(country))
if guess == capital[country]:
    pass
How can I create an EU quiz without 28 "if" statements