I'm just trying to understand what is the difference between int and int(). Here is my code:
def function(define):
    if type(define) == int:
        return 'sorry'
    else:
        return len(define)
print(function(10))
and it returns: sorry
File "exercise2.py", line 14, in <module>
    print(function(10))
  File "exercise2.py", line 12, in function
    return len(define)
TypeError: object of type 'int' has no len()
 
     
     
    