0 votes
in Python by
Return multiple values from functions

1 Answer

0 votes
by
def a():

return 4, 5, 6, 7

p, q, r, s = a()  

print(p, q, r, s)

Output:

4, 5, 6, 7

Related questions

0 votes
asked Aug 29, 2020 in Python by Robindeniel
0 votes
asked Oct 12, 2021 in Python by rajeshsharma
...