def abc(x, y): print x print y x = x + 1 y = y + 1 x = 0 y = 1 x, y = abc(x,y)When I execute this error, I got this error: TypeError: 'NoneType' object is not iterable.
What is the reason for this?
How to return multiple values from function in python
|
|
Messages In This Thread |
How to return multiple values from function in python - by pikkip - Jan-23-2017, 05:43 AM
RE: How to return multiple values from function in python - by Mekire - Jan-23-2017, 05:53 AM
RE: How to return multiple values from function in python - by pikkip - Jan-23-2017, 06:00 AM
|