That is flat. The only way to get any flatter is if it isn't a list anymore. If that's your goal, right before your print, you can do...
flatten = ''.join(flatten)
Increasing depth in python
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
"RecursionError: maximum recursion depth exceeded in comparison" | hhydration | 1 | 2,690 |
Sep-26-2020, 03:07 PM Last Post: deanhystad |
|
Digits increasing | meknowsnothing | 6 | 5,924 |
Feb-17-2019, 11:22 AM Last Post: scidam |
|
Increasing difficulty of a maths game | Maxxy_Gray | 1 | 4,187 |
Apr-04-2018, 03:00 PM Last Post: sparkz_alot |