I’m not having difficulty with the code, no errors. Here is my code below:
print 'Welcome to the Pig Latin Translator!' pyg = 'ay' original = raw_input('Enter a word: ') if len(original) > 0 and original.isalpha(): word = original.lower() first = word print original else: print 'empty'
My assumption is that for the raw input in the console, the first letter is supposed to be printed lowercase- in my case it isn’t. If I enter ‘Test’ it still outputs ‘Test’, isn’t it supposed to output ‘test’? I completed this section with no issues, but for Code Academy to say I’m inputting the correct code, but I’m not seeing it in the console, has me concerned.
Maybe I’m doing something wrong?