結果 : write a python program to calculate the length of a given string by using for loop