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?
except:
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.