Returning Value(s) from a Function in Python

preview_player
Показать описание


Calling a function is great for organizing your code, and being able to pass values to a function makes it much more powerful. However, when you can get a result back from a function, you can now fully appreciate the power that a function provides to you.
We look at how to return a value in this video, and something fairly unique to Python, the ability to return multiple values from a function.
Рекомендации по теме
Комментарии
Автор

how can i add those random numbers and return them?

josecas
visit shbcf.ru