<

Watch Python Programming: Strings

Posted on
6,361 Points
261 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
Author:Dototot
0 Comments
A guide on the process of automating change or gathering data from multiple Cisco IOS devices. If this can help you - please use it. God knows we all need a few extra minutes in our day.
Which language to choose for your next web project? Python, PHP, or maybe Node.js? Which framework to choose? Should you go with Symphony, Yii, or Laravel in PHP world? Django, Pyramid or Flask in Python world? Or maybe go for Feathers, Sails, Meteo…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month