#python #coding 16

preview_player
Показать описание
Explanation:
• int("abc") raises a ValueError.
• The except block sets x = -1.
• The finally block runs no matter what and does x += 1 → -1 + 1 = 0.
• So the final value printed is 0.

#devops #coding #python #interview #quiz
Рекомендации по теме
join shbcf.ru