Question

Write a function to calculate the length of given string?

Login to Submit

Examples

Input: "cat"
Output: 3

Input: "dog"
Output: 3

Input: "computer"
Output: 8