Block of code returning indentation error


I’m trying to run this block of code inside the if statement . However Python is returning an indentation error

if len(original) > 0 and original.isalpha()==True:
    print original
		print new_word

Can someone plz help me out?


looking at your code:


i understand why print new_word gives an indent error, that line has way too much indent.


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