|
20 | 20 | ["🇧🇩", "Dhaka", "Bangladesh", 24_652_900],
|
21 | 21 | ["🇪🇬", "Cairo (القاهرة)", "Egypt", 23_074_200],
|
22 | 22 | ["🇪🇬", "São Paulo", "Brazil", 22_990_000],
|
| 23 | + ["🇲🇽", "Mexico City", "Mexico", 22_752_400], |
| 24 | + ["🇨🇳", "Beijing (北京)", "China", 22_596_500], |
| 25 | + ["🇮🇳", "Mumbai", "India", 22_089_000], |
| 26 | + ["🇯🇵", "Osaka (大阪)", "Japan", 18_921_600], |
23 | 27 | ]
|
24 | 28 |
|
25 | 29 | COUNTRY_HEADERS = [
|
@@ -64,7 +68,7 @@ def __init__(self) -> None:
|
64 | 68 | def do_cities(self, _: cmd2.Statement) -> None:
|
65 | 69 | """Display the cities with the largest population."""
|
66 | 70 | table = Table(show_footer=False)
|
67 |
| - table.title = "Largest Cities by Population 2025" |
| 71 | + table.title = "10 Largest Cities by Population 2025" |
68 | 72 | table.caption = "Data from https://worldpopulationreview.com/"
|
69 | 73 |
|
70 | 74 | for header in CITY_HEADERS:
|
|
0 commit comments