Python can return multiple values

preview_player
Показать описание
Functions in Python can return multiple values in the form of tuple
.
.
.
.

Thank you
Please consider leaving a like and Subscribe for more.
Also, feel free to leave a comment on any questions you have concerning this topic!

I hope it was useful!
#codingtips #shorts #pythonprogramming
Рекомендации по теме
Комментарии
Автор

"We can do so without the compiler yelling at us" - Yea it is not a compiled language... so how would it anyway.

johannespensel
Автор

Actual if im right, c++ can return a struct value which can have multiple values in it.

deeepdish
Автор

Go can return multiple values as well, whitout the compiler yelling :B

Ryuuzaki
Автор

Ummm... Its actually a tuple that is being returned🤓

jimmlmao