x=[[1.0, -1.0, 0.0, 3.0], [1.0, 2.0, 3.0, 4.0], ...]
x is a nested list
Expected o/p:
x1=[1.0, -1.0, 0.0, 3.0]
x2=[[1.0, 2.0, 3.0, 4.0]
further i will be using x1, x2, ... separately in different functions. E.g.
x_add=x1+x2
I tried using loop but was not able to get expected o/p
I want the loop to iterate up to length of x and extract each sub list from list x and assign it to a variable xn iteratively.