Login
Remember
Register
Ask a Question
How does a function return values?
0
votes
asked
May 11, 2023
in
Python Flask
by
sharadyadav1986
How does a function return values?
function-python
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 11, 2023
by
sharadyadav1986
A function uses the ‘return’ keyword to return a value. Take a look:
>>> def add(a,b):
return a+b
...