Help!


#1

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
else:
print 'empty'
it gives me indentation error


#2

Be sure all indents are the same.


#3

they r stll gives the same error


#4

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


#5

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.


#6

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