Function With Return Type

def square(a):
    return a * a
print(square(5))
25
def square(a:int) -> int:
    return a * a
print(square(4))
16
def square_1(a:int) -> str:
    return a * a
print(square_1(15))
225

in the above function, even though we say the return type is string, we are returning an int.