python return multiple values from functions

Last updated 3 years, 1 month ago | 1252 views 75     5

Tags:- Python Django

Python | Return multiple values from functions

>>> def A():
	return 2, 3, 4

>>> a, b, c = A()

>>> print(a, b, c)
2 3 4