Can you explain why none is printing in output?

In python indentation matters, Your Function Call is not Properly indented that is why it is not printing anything

def great(a,b,c):
    if(a>b and a>c):
        print("a is greater")
    elif(b>a and b>c):
        print("b is greater")
    else:
        print("c is greater")
a=great(12,3,1)
print(a)