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 , Co-Founder , www.pythonat.com

#python 2

 

x =raw_input("enter a string")

y = len(x)

print y

 

 

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.