Pyglatin 8/11, code isn't running properly


On 8/11, “Word Up”, the instructions say:
1.Inside your if statement:
Create a new variable called word that holds the .lower()-case conversion of original.
Create a new variable called first that holds word[0], the first letter of word.

When I hit run, the right screen either simply says RUN, or it asks for a word but will not allow me to type. Although I am allowed to move on to the next section, I don’t want to move forward until the code is actually working. This is my first time trying to learn coding so I think I must be missing something.

pyg = ‘ay’

original = raw_input(‘Enter a word:’)

if len(original) > 0 and original.isalpha():
print original
word = original.lower()
first = word[0]
print ‘empty’


It would appear there is an issue with raw_input for some reason. A workaround for this would be to comment out the input line and manually set the variable.

original = "surprise"

or any word of your choosing… That should let you get through the exercise without getting the code.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.