Q24Numerical3 Marks24 Dec 2023
What is the output of the following snippet of code if it is given that the except block is executed at least once?
```
val = 0
count = 0
for string in ['1', '1.2', '3', '4']:
try:
x = int(string)
val += x
except:
count += 1
val += 10
print(val + count)
```
Press Enter to check.