Create a function based on the following information:
There is a list which contains integers or other nested lists which may contain yet more lists and integers which then… you get the idea. You should put all of the integer values into one flat list. The order should be as it was in the original list with string representation from left to right.
[1, 2, [ 3, 4], [5,6]] ==> [1, 2, 3, 4, 5, 6]
Input data: A nested list with integers.
Output data: Nothing to output
Return: The one-dimensional list with integers.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here