Write a subroutine to find the length of a string in Python.
def find_string_length(string):
    length = 0
    for c in string:
        length += 1
    return length

# example
str = "Hello world!"
print(find_string_length(str))