New course! Every coder should learn Generative AI!
Try a free lesson0
Are there any requirements or restrictions on what a method can return?
1 Answer
0
Multiple variables cannot be returned..
.
But you can return any of the integer,float,string,list,tuple, hexadecimal numbers, boolean, instance of a class, etc