WordUp Piglatin Stuck


#1

Im stuck please help. I thought my code was done correctly and it looks like the examples of others i have seen on the forums.

pyg = 'ay'

original = raw_input('Enter a word:')
word= original. lower()
first= "word"[0]
if len(original) > 0 and original.isalpha():
	print word
else:
  print 'empty'

I keep getting an error message asking me if i remembered to use .lower() in my code


#2

Is there an example of the finished code in Lesson 1? If so, compare your code to that and fix the four errors we can see.


#3

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