0
Return
I just started coding and i still don’t really get what it means to “return a value” someone plz help
2 Respostas
+ 5
https://anh.cs.luc.edu/JUMP_LINK__&&__python__&&__JUMP_LINK/hands-on/3.1/handsonHtml/functions.html
Functions that return values can be used in expressions, just like in math class. When an expression with a function call is evaluated, the function call is effectively replaced temporarily by its returned value. Inside the Python function, the value to be returned is given by the expression in the return statement.
0
Scooby🍔 Scooby dooby doooooooo! Great answer ☺