Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 18732

Why SyntaxError for code after the try/except/finally block in IDLE?

$
0
0

I am novice of Python, now learning using the app SoloLearn

In the in-app code playground I run these codes with no problem:enter image description here

But when I run the same code in IDLE, I get an SyntaxError:enter image description here

Does anyone have any idea why?


Viewing all articles
Browse latest Browse all 18732

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>