# Explicitly define datatype in a Python function 
 # function definition
def add(num1, num2):
    print("Datatype of num1 is ", type(num1))
    print("Datatype of num2 is ", type(num2))
    return num1 + num2
  
# calling the function without
# explicitly declaring the datatypes
print(add(2, 3))
  
# calling the function by explicitly
# defining the datatype as float
print(add(float(2), float(3)))