+ 1

I am trying to except (block) Execute but not working and also finally block not workingšŸ‘Øā€šŸ’»šŸ‘Øā€šŸ’» Plz anyone Explain me?

try: a=["i[i]",i*i for i in range(10)] print(a) except SyntaxError: print("Plz Check your code") finally: print("its always work")

30th Aug 2021, 8:43 AM
šŸ’» Code_02šŸ¦šŸ‘‘
šŸ’» Code_02šŸ¦šŸ‘‘ - avatar
1 Answer