結果 : write a python program to calculate the length of a string without using a library function