programplug Logo




Python String


A string is a sequence of characters(array of characters), either as a literal constant or as a variable.


name="Rahul"  
length=len(name)  
i=0  
for n in range(-1,(-length-1),-1):  
    print name[i],"\t",name[n]  
    i=i+1  

output :
R    l
a    u
h    h
u    a
l    R


Python Strings Operators

Python provides basically 3 types of Operators to perform string operation.

1) Basic Operators.
2) Membership Operators.
3) Relational Operators.






Our Services

Developing Cheapest Websites
Offer Digital Marketing
Provide College Projects
Attractive Website Developing
Summer Training,Industrial Training
SCO,SMO

Contact Us

Dehradun Uttarakhand India
www.programplug.com
info@programplug.com
08534019974
Designed By : Mridul Gupta

Other Link

About Us

Contact Us

Disclaimer

Privacy Policy