pls help with 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'
it gives me indentation error


Be sure all indents are the same.


they r stll gives the same error


Without properly formatted code samples we can only speculate what the issue is.


Use backticks to correctly format your code. There is also a button that you can click on that looks like this: < / >
Highlight your code block and click the button. Then we can help you.


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