Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Write a program to count the number of characters in a string with and without recursion.?

user-image
Question added by Abdul Khader Shaik , Cyber Crime Lawyer , Grofers
Date Posted: 2017/12/23
NASSER AL-OSTATH
by NASSER AL-OSTATH , CEO / Trainer , dotslashhack.io

#python 2

 

x =raw_input("enter a string")

y = len(x)

print y

 

 

More Questions Like This