mirror of
https://github.com/alvierahman90/capitals_quiz.git
synced 2025-10-13 07:54:27 +00:00
flags! and minor styling tweaks
This commit is contained in:
@@ -26,16 +26,22 @@ def main(args):
|
||||
continue
|
||||
country_list[country['name']['common']] = {
|
||||
'answer': country['capital'][0],
|
||||
'capital': country['capital'],
|
||||
'countryname': country['name']['common'],
|
||||
'region': country['region'],
|
||||
'subregion': country['subregion'],
|
||||
'languages': country['languages']
|
||||
'languages': country['languages'],
|
||||
'code': country['cca3'].lower()
|
||||
}
|
||||
|
||||
capital_list[country['capital'][0]] = {
|
||||
'answer': country['name']['common'],
|
||||
'capital': country['capital'][0],
|
||||
'countryname': country['name']['common'],
|
||||
'region': country['region'],
|
||||
'subregion': country['subregion'],
|
||||
'languages': country['languages']
|
||||
'languages': country['languages'],
|
||||
'code': country['cca3'].lower()
|
||||
}
|
||||
|
||||
print('countries = ', end='')
|
||||
|
Reference in New Issue
Block a user