Why am I removing "print" after building the If statement with it?


I was getting an error and finally hit solution, and it did not include print in my code.

pyg = 'ay'

original = raw_input('Enter a word:')

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

Under first = word[0] the correct solution does not include the print original statement. can someone please explain why?


Because it is no longer part of the program. We needed it for only a single step, just to confirm things were working.


Thank you for the clarity