Add new file

This commit is contained in:
Ferexio 2022-08-02 11:28:25 +00:00
parent 7a2210937f
commit 1ee7d96fe1

9
exception_1.py Normal file
View file

@ -0,0 +1,9 @@
while True:
try:
x = int(input("What's x: "))
y = int(input("What's y: "))
except:
print("Error")
else:
break
print(x + y)