Indentation error in python code

for _ in range(int(input())):

n=int(input())

n=n-1 

binary=bin(n)[2:]

def matrixmul(m1,m2):

	m3=[[0,0],[0,0]]

	m3[0][0]=m1[0][0]*m2[0][0]+m1[0][1]*m2[1][0]

	m3[0][1]=m1[0][0]*m2[0][1]+m1[0][1]*m2[1][1]

	m3[1][0]=m1[1][0]*m2[0][0]+m1[1][1]*m2[1][0]

	m3[1][1]=m1[1][0]*m2[0][1]+m1[1][1]*m2[1][1]

	return m3 



def exponentiation(matrix,y):

	while(y):

			

		matrix=matrixmul(matrix,matrix)

		y=y>>1

	return matrix

x=1 

result=1

matrix=[[1,1],[0,1]]

for i in range(len(binary)-1,-1,-1):

    if binary[i]=='1':

        if result==1:

            result=exponentiation(matrix,x)

        else:

            result=exponentiation(matrix,x)*result

    if x==1:

        x=2 

    else:

        x=x*x

if result==1:

    print(1)

else:

    print(matrix[0][1])

Why is my Python code showing indentation problem for no reason?

@govilayush hey there is indentation problem thats why it is showing error so use compiler which indentate itself using shortcut keys ,it will help you.

Thank u. Sorry for asking silly question. I got the problem

@govilayush ok no problem bro