Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
Exceptions In Python
What is the result of below code? try: variable = 10 print(variable + "hello") print(variable / 2) except (ZeroDivisionError, ValueError, TypeError): print("Divided by zero")
1 Réponse
0
its output will be:
"divided by zero"