try:
print(float("1e1"))
except (ValueError, NameError):
print(float("1a1"))
else:
print(float("101"))
try:
print(0/1)
except:
print(1/1)
else:
print(2/1)
are the correct , because float("1e1") = 10,0 then the else : float("101") = 101.0
the other code =
0 /1 = 1 then else: 2/1 = 2
so A D
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
fermins
10 months agoemanuelcar990
1 year, 3 months agoNenggg
1 year, 11 months agoDav023
2 years, 2 months agostuartz
2 years, 5 months agoBaldridge
2 years, 6 months agomacxsz
2 years, 7 months agoMTLE
2 years, 7 months ago