I am cut/pasting the code below and it works! However I am trying to get the code to fail by changing the string and I'm still passing
My issue: I am trying to make my code fail by entering a string that contain non-alphabetical characters. For example...I take the string "Enter a word" and I change it to the following "123Enter a word" and the editor is passing me.
Can you tell me where I'm going wrong?
Here is the code that works:
print 'Welcome to the Pig Latin Translator!'
original = raw_input("Enter a word")
Start coding here!
if len(original) > 0 and original.isalpha():