Python function with no arguments and no return value

preview_player
Показать описание
Looks at a program that calls and defines a Python function with no arguments and no return value.
Рекомендации по теме
Комментарии
Автор

Thank you! I learned so much in this! Definitely much more than I would have on my own

Tomas-zvjs
Автор

Well, every function returns None by default so it has a return value.

nemplayer
Автор

What about a function that has no input and literally no output, (not even print statements), just like a for loop in it... that data is lost when it returns right? What's the point of that?

liberator