1

I have a nested list A = [1,2,3,[4,5,[6,7,8]]] I want to convert A into a list [1,2,3,4,5,6,7,8]. How can I do this? There is a restriction that i don't have to hardcode it.

Stephen Rauch
  • 47,830
  • 31
  • 106
  • 135

0 Answers0