Typeerror nonetype object is not iterable
Actually NoneType object is itself a type for None object just similar to int, float etc.
When we try to iterate the same using for loop , it throws the same error ( above mentioned)-
var=None
print(type(None))
for i in var:
print(i)
The best wa...
datasciencelearner.hashnode.dev1 min read