In one of the previous exercises we created the following function:

def string_length(mystring):
    return len(mystring)

Calling the function with a string as the value for the argument mystringwill return the length of that string.

However, if an integer is passed as an argument value:

string_length(10)

that wouldgenerate an error since the len() function doesn't work for integers.

Your duty is to modify the function so that if an integer is passed as an input, the function should output a message like "Sorry integers don't have length".