##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 08\08.1271 - No Title.py
# Description: No Title
##############################################################################
while True:
try:
v = int(input("Enter an integer(0 exits):"))
if v == 0:
break
except Exception:
print("Invalid value! Retype")
else:
print("Congratulations, no exception")
finally:
print("Always executed, even with break ")