In this video we will look at how to slice lists and strings in Python. Slicing allows us to extract certain elements from these lists and strings. This can be extremely useful for stripping out certain values from lists or getting a substring of a characters from a string. Let’s take a look at a few code examples.

The code from this video can be found at:

https://github.com/CoreyMSchafer/code…

🔔 Subscribe https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g

#python

How to Slice Lists and Strings in Python - Python Tutorial
11.85 GEEK