Q12.webp
Đ

Q12.webp

Kizspy | Question: 12
(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

Thông tin

Category
PFP191
Thêm bởi
Đức Anh 981
Ngày thêm
Lượt xem
1,017
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom