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


#1

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

#3

This is above the input, so word is not defined yet.

You've already got an expression to test the input, original. This is where you could define word

word = original.lower()
first = word[0]

#4

A post was split to a new topic: Pyg-Latin ... don't get any of this topic at all