11. 11. Testing, Testing, is This Thing On? - How to exit program if word doesn't comply


On testing my PygLatin program I found that if I entered a word that was all or partially numeric the program will still change it. So I'd like the program to stop if such a word is entered. I've googled this and found the function exit() but that through up an error. Any ideas?



That error probably says what was wrong. They are there to be read
If you're running it on codecademy, then the interpreter running your code is running other code as well so you're not expected to tell it to exit. Maybe that's what you mean.