Login
Remember
Register
Ask a Question
Return multiple values from functions in python
0
votes
asked
May 24, 2020
in
Python
by
SakshiSharma
Return multiple values from functions
#python-return-values
#python-return-multiple-values
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 24, 2020
by
Robindeniel
def a():
return 4, 5, 6, 7
p, q, r, s = a()
print(p, q, r, s)
Output:
4, 5, 6, 7
...