Computer Science, asked by sacchit2727, 6 months ago

Program to count the
number of letters of the
string without using the
length function

python program​

Answers

Answered by Nilanjit
1

str1 = input("Please Enter your Own String : ")

total = 0

for i in str1:

total = total + 1

print("Total Number of Characters in this String = ", total)

Similar questions