Skip to content

Handled Edges Cases#7

Open
DarshiniKurasa wants to merge 7 commits intoGDGSVECW:mainfrom
DarshiniKurasa:main
Open

Handled Edges Cases#7
DarshiniKurasa wants to merge 7 commits intoGDGSVECW:mainfrom
DarshiniKurasa:main

Conversation

@DarshiniKurasa
Copy link
Contributor

Type Check Using Try-Except: The try block attempts to perform the modulus operation, which will raise a TypeError if num is not an integer or float.
Error Handling: If the input is not a valid number for modulus operations, it prints an error message asking for a valid integer input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants