26
Answer (Choose 1 answer)
For the following code:astr = 'Hello Bob'
istr = 0
try:
istr = int(astr)
except:
istr = -1
What will the value be for istr variable after this code executes?
A -1
B. It will be the 'Not a number' value (i.e. NaN)
C. It will be a random number depending on the operating system the program runs on
D. false