F Calculate Length of a String using Python | CodeTheta

Calculate Length of a String using Python

June 20, 2018

Using predefined string
Code :
String = "www.codetheta.com"
print(len(String))

Output :
17

Value given in run time / program execution time.
Code :
Text = input("Enter a string: ")
print(len(Text))

Output :
Enter a string: www.codetheta.com
17

IDE Used To Test This Code : Python IDLE.

Try this code in your computer for better understanding. Enjoy the code. If you have any Question you can contact us or mail us.We will reply you as soon as possible.

Post a Comment

PRODUCTS

LISTS OF PRODUCTS

SERVICES

SKILLS
SOFTWARE DEVELOPMENT
WEBSITE DEVELOPMENT
WEB HOSTING
BULK SMS SERVICE
SEO SERVICE
ANDROID APPS
QR CODE / BARCODE
HARDWARE SERVICE
OUR WORK AREA