203k views
2 votes
How do I unpack a non iterable NoneType object?

1 Answer

0 votes
How to Fix “TypeError: Cannot Unpack Non-iterable NoneType Object” Error in Python. This error was raised because we tried to unpack a None object. The simplest way around this is to not assign names. sort() as the new value of your list.
User S Atah Ahmed Khan
by
7.7k points