SarkariResultess QA Bank

TypeError: 'NoneType' object is not iterable का common कारण क्या है? — interview में इसका सही जवाब क्या है?

Other 0 Views Verified
TypeError: 'NoneType' object is not iterable का common कारण क्या है? — interview में इसका सही जवाब क्या है?
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified

for loops only accept strings

for loops only accept strings
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified

all lists are None

all lists are None
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified

None is always iterable

None is always iterable
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified Correct Answer

A function returned None where an iterable was expected

A function returned None where an iterable was expected
Additional Explanation
Iterable की जगह None मिलने पर यह error आता है।