SarkariResultess QA Bank

IndentationError को कैसे ठीक करें? इसका मुख्य कारण क्या है?

Other 0 Views Verified
IndentationError को कैसे ठीक करें? इसका मुख्य कारण क्या है?
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified

if active: print('yes') with mixed tabs/spaces

if active: print('yes') with mixed tabs/spaces
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified

if active: print('yes')

if active: print('yes')
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified Correct Answer

if active: print('yes')

if active: print('yes')
Additional Explanation
Block statements में consistent indentation जरूरी है।
Verified

if active print('yes')

if active print('yes')
Additional Explanation
यह विकल्प सही समाधान नहीं है।