0
why wont this go through properly every time i do it it says syntaxerror: unindent does not match any outer indentation level
try: meaning=42 print(meaning/0) print("the meaning of life") except (ValueError, TypeError):
2 ответов
+ 2
There are 5 spaces. The code shown works for me (syntax ok) so it's probably an indentation issue with surrounding/inside but omitted code.
+ 1
have you got five spaces? Also you don't seem to be catching Zero Division exception and not sure if you will ever print the meaning of life..