Compare commits

..

3 Commits

Author SHA1 Message Date
a09e444afc merged solution 2025-07-17 16:02:33 +02:00
d8f1990724 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/energy_data_project/T08_WorldCities.py
2025-07-17 16:00:34 +02:00
d27a6a794e conflicting change 2025-07-17 15:58:26 +02:00

View File

@ -14,7 +14,9 @@ def get_population_of_country(df, country):
"""
cities = df[df["country"] == country]
print("cities")
return cities["population"].sum()
pop = cities["population"].sum()
return pop
def get_cities_beyond_latitude(df, lat, north=True):
"""
@ -108,4 +110,4 @@ if __name__ == "__main__":
# funktion
# -> raise
# -> assert
# -> assert