Compare commits
No commits in common. "a09e444afcf52718ac841f4cf2d4b7ade7adb36d" and "4de38d02cf00f4595689670bb0313dc182e8385c" have entirely different histories.
a09e444afc
...
4de38d02cf
@ -14,9 +14,7 @@ def get_population_of_country(df, country):
|
||||
"""
|
||||
cities = df[df["country"] == country]
|
||||
print("cities")
|
||||
pop = cities["population"].sum()
|
||||
|
||||
return pop
|
||||
return cities["population"].sum()
|
||||
|
||||
def get_cities_beyond_latitude(df, lat, north=True):
|
||||
"""
|
||||
@ -110,4 +108,4 @@ if __name__ == "__main__":
|
||||
|
||||
# funktion
|
||||
# -> raise
|
||||
# -> assert
|
||||
# -> assert
|
||||
|
||||
Loading…
Reference in New Issue
Block a user