Compare commits
3 Commits
4de38d02cf
...
a09e444afc
| Author | SHA1 | Date | |
|---|---|---|---|
| a09e444afc | |||
| d8f1990724 | |||
| d27a6a794e |
@ -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
|
||||
Loading…
Reference in New Issue
Block a user