I’d say is a valueerror a runtime error? Absolutely. It’s not a compile-time error, so it fits the runtime category. But I get why you’re asking—there’s a lot of overlap in how people talk about errors.
For debugging, I’d recommend using print statements (old school, I know) or a tool like pdb. It’s built into Python and super useful for stepping through code.
For debugging, I’d recommend using print statements (old school, I know) or a tool like pdb. It’s built into Python and super useful for stepping through code.
