#This is a tutorial on debugging.
#
#number = int(input("Enter a no.: ") )
#print(number)
#
#If someone enters a non integer, then the above line will give na error.
#To get around this we can use a TryExcept Block

try:
 value =10/0
 number = int(input("Enter a no.: ") )
 print(number)
except ZeroDivisionError as err:
# print("division by zero")
 print(err)
except ValueError:
 print("invalid input")
