I am trying to except (block) Execute but not working and also finally block not working👨‍💻👨‍💻 Plz anyone Explain me? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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