why does it show a syntax error?
File "..\Playground\", line 17 elif ((l.index(l[x]))+I)>+26 : ^ SyntaxError: invalid syntax ,,,,,,,,,,,,, sry i made a mistake writing the error part of the code is : if l[x] in ast: n=k[I] if n==1 : if ((l.index(l[x]))+I)<26 : cp0.insert(ast.index(l[x]),l[x+I]) cp0.pop((ast.index(l[x])+1) elif ((l.index(l[x]))+I)>26 : cp0.insert(ast.index(l[x]),l[I+l.index(l[x])-26]) cp0.pop(ast.index(l[x])+1) else : None and it shows error : File "..\Playground\", line 17 elif ((l.index(l[x]))+I)>26 : ^ SyntaxError: invalid syntax