• Flat list

 

My solution is not accepted Here's pseudo code: 1. convert list into string 2. replace "[] " chars 3. split list by ',' 4. convert list items into integers 5. return list

ValueError: invalid literal for int() with base 10: '', <listcomp>, 4, flatlist, 4 Fail: flatlist([])

I am not sure where the problem lies.