Word Up


Whenever I put in this code it says original is not defined though I already defined it.

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


The above is the validation line that should follow immediately after the input statement.

It is no long necessary to print original.


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