What is wrong here?


#1

pyg = 'ay'

original = raw_input('Enter a word:')

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

What am i doing wrong? It keeps saying:
Oops, try again. Did you create a variable called first?


#2

Figured out problem, after continuing, where it says enter a word, just type: word


#3

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