How to return multiple values from a function in Python - Python Tip #python #coding #programming

preview_player
Показать описание
In this video, I'll show you how you can return multiple values from a function and how it works under the hood.
Рекомендации по теме
Комментарии
Автор

I wouldn't recommend naming a variable sum, due to sum() being a built-in function, same goes for list, dict, id, max, etc...

SpaghettDev