Question:
What will be the output of the following python code considering the following set
of inputs?
AMAR
THREE
A123
1200
Also, explain the try and except used in the code.
Start=0
while True:
try:
Number=int(raw_input(“Enter Number”))
break
except ValueError:
Start=Start+2
print(“Reenter an integer”)
print(Start)
C. Sir| Created: 11-Jan-2019 | Updated: 11-Jan-2019|CBSE12A-2016
