A program that checks if a number is prime, composite, or neither.
Great start! I suggest using only one except without an error specified. Specifying the error is only for when you need to do different things on different errors. In your case, your doing the exact same thing on both errors.
Nice, maybe make it repeat so you don't have to press run every time?
@MrVoo thank you for your feedback!
@mariocat A l s o, you don't need to specify an error for except statements, just except: will do.
except:
@MrVoo ah ok, thanks for letting me know!
Great start! I suggest using only one except without an error specified. Specifying the error is only for when you need to do different things on different errors. In your case, your doing the exact same thing on both errors.