Home / Questions / Other ZeroDivisionError को कैसे रोकें? इसे debug करने का पहला practical step क्या है? — interview में इसका सही जवाब क्या है? Other 0 Views Verified ZeroDivisionError को कैसे रोकें? इसे debug करने का पहला practical step क्या है? — interview में इसका सही जवाब क्या है? #python #error #debugging #exception #solution Sarkari Result QA Bank Editorially reviewed exam information Share
Verified result = number / 0 result = number / 0 Additional Explanation यह विकल्प सही समाधान नहीं है।
Verified try: number / 0 without handling try: number / 0 without handling Additional Explanation यह विकल्प सही समाधान नहीं है।
Verified Correct Answer if divisor != 0: result = number / divisor if divisor != 0: result = number / divisor Additional Explanation Division से पहले zero check या exception handling करें।