Geo-Python 2023 Lesson 3.1 - Repeating tasks with loops

preview_player
Показать описание
Screencast and lecture for Lesson 3.1 of the 2023 Geo-Python course at the University of Helsinki.
Рекомендации по теме
Комментарии
Автор

We can also use zip function on two list to iterate using for loop and print it out.
But i like this len one.

gisdevelopr
Автор

for city, country in zip(cities, countries):
print (f'{city} is the capital of {country}')

gisdevelopr