↻
⏵︎ Run
import numpy arr = numpy.array([[1, 2], [3, 4]]) x = arr.tolist() print("Numpy Array :\n", arr) print("\nList :\n", x)
Output