Block of code returning indentation error


#1

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
    new_word=word+first+pyg
    new_word=new_word[1:len(new_word)]
		print new_word

Can someone plz help me out?


#2

looking at your code:

Screenshot_2018-07-08_09-23-08

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


#3

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


#4