I’ve been having some issues with the python program taking to long to execute and then the python program terminating all together. I am currently on the lesson
Here is my code:
print 'Welcome to the Pig Latin Translator!'
# Start coding here!
original = raw_input("Enter a word: ")
if len(original) > 0 and original.isalpha():
print original
else:
print "empty"
Sometimes the program will run correctly after a few seconds. Other times the program just terminates itself.
Things I’ve Tried:
- Clearing my browser cache.
- closing google chrome and reopening it.
- restarting my computer.
I’ve seen this issue on other forum discussing but I haven’t seen a solution.