Last active
January 17, 2018 23:20
-
-
Save ysnerdem/c5f5fc456fbb835b075ee9dd2feea182 to your computer and use it in GitHub Desktop.
This file contains 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
try: | |
num1 = int(input("1.Sayı:")) | |
num2 = int(input("2.Sayı:")) | |
print(num1 / num2) | |
except ZeroDivisionError: | |
print("Bir sayı sıfıra bölünemez.") | |
except ValueError: | |
print("Geçerli sayılar girmediniz") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment