Created
March 24, 2020 18:29
-
-
Save Tej-Singh-Rana/91cbe27a87c0005322401b222661800f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
try: | |
x = int(input()) | |
y = int(input()) | |
z = x + y | |
print(z) | |
except ValueError: | |
print("Enter the correct numeric value. ") | |
except SyntaxError: | |
print("Enter the correct numeric value. ") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment