SarkariResultess QA Bank

TypeError: 'NoneType' object is not iterable का common कारण क्या है? Google पर developer को मिलने वाला सबसे उपयोगी समाधान क्या है?

Other 0 Views Verified
TypeError: 'NoneType' object is not iterable का common कारण क्या है? Google पर developer को मिलने वाला सबसे उपयोगी समाधान क्या है?
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
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 आता है।
Verified

None is always iterable

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

for loops only accept strings

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

all lists are None

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