Skip to content
A Prime Number Calculator
Profile icon
mariocat

A program that checks if a number is prime, composite, or neither.

You are viewing a single comment. View All
Profile icon
CoderGautamYT

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.