- Home
- Course Category
- Course Result
- Course Detail
Hot Line: 08377052947
-
TeacherJyoti
-
Category
Programming, Website Development
-
Duation
15 hours
-
Reviews(117 review)
-
Call Us for Details
Basic Python Course Questions
Python programming language is a general-purpose, dynamic programming Language.Python language have a large library of packages which makes python for beginners a language of choice.
Python Programs For Practice
In the program below, we calculated string length w/o function.
Source Code:
Program To Calculate The Length Of A String Without Using A Library Function In Python
# CALCULATE THE LENGTH OF A STRING WITHOUT USING A LIBRARY FUNCTION
string=input("Enter string:")
count=0
for i in string:
count=count+1
print("Length of the string is:")
print(count)
Output
Run the program to see the output