Python Forum

Full Version: Multidimensional lists
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do you return a two-dimensional list?

Thank you!
Quote:How do you return a two-dimensional list?
same way you return any object
as last entry of function or method:
return listname