Find Sum Of A List Without Using sum() | Python Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Your videos are amazing! It is often nice to know how a certain function performs such an operation... Another way to add a list in python is:

def _sum(numb):
if(numb == []): return 0
return _sum(numb[1:]) + numb[0]

Meppr
Автор

Would love to see some Rust programming tutorials

kjrgntz