Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "By default, what SystemExit status does argparse use for an invalid value such as --count nope when type=int?" on CodeWiki (https://codewiki.com/practice/fill/python/checkpoint-4/checkpoint-4-parse-failure/).
Context (verbatim from the page):
"""
By default, what SystemExit status does argparse use for an invalid value such as --count nope when type=int?
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in Python. Where you are unsure, say so.