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
  • 44,696
  • 30
  • 102
  • 125

0 Answers0