Использование карты Instad для петли
for i in object:
doSomething(i)
////////////////////////////////
map(doSomething, object)
Crowded Chamois
for i in object:
doSomething(i)
////////////////////////////////
map(doSomething, object)