<

Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Python Programming: Strings

Posted on
6,287 Points
187 Views
1 Endorsement
Last Modified:
Experience Level: Beginner
5:12
Learn the basics of strings in Python: declaration, operations, indices, and slicing.

Video Steps

1. Strings are declared with quotations; for example: s = "string"

2. Strings are immutable.

3. Strings may be concatenated or multiplied using the addition and multiplication operators, respectively.

4. String characters may be accessed by index; for example: s[1]

5. A specific range of a string may be accessed using the slice method; for example: s[1:3]

1
Comment
Author:Dototot
0 Comments

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Next Video:

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month