The len() Function is used to return the length of a String.
x = "Hello" print("The length of the String is ",len(x))