SarkariResultess QA Bank

Answer & Explanation

4 Answers
Verified

while True with no exit

while True with no exit
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified Correct Answer

for attempt in range(3): try: call() break except Exception: if attempt == 2: raise

for attempt in range(3): try: call() break except Exception: if attempt == 2: raise
Additional Explanation
Bounded retries infinite retry loop से safer हैं।
Verified

retry forever without limit

retry forever without limit
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified

call() only once

call() only once
Additional Explanation
यह विकल्प सही समाधान नहीं है।