PRP201c_-_SU_2024_-_TE2_2585.webp
Trung Kiên1

PRP201c_-_SU_2024_-_TE2_2585.webp

Kizspy | Question: 17
(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 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
PRP201c
Thêm bởi
Trung Kiên1
Ngày thêm
Lượt xem
1,128
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom