Python: Can a function return an array and a variable?

It’s not ignoring the values returned, you aren’t assigning them to variables.

my_array, my_variable = my_function()

Leave a Comment