Sequences: Indexing, Slicing, and Iterating | Python for Beginners Lesson 3 | Code with Kylie

preview_player
Показать описание
In this beginner lesson, we learn about sequences in Python. Sequences are the foundation of more complex data structures in Python, such as lists and tuples.

Previously, we introduced the strings as a basic type. In this video, we'll revisit that and introduce it as a compound data type instead. It's a SEQUENCE of characters!

Using strings as an example, I'll demonstrate the properties of sequences in Python: indexing, slicing, and iterating! These will be applicable to other sequences (lists, tuples, etc) later on.

Timestamps:
00:00 Intro and Recap
00:50 Indexing
04:14 Slicing
07:34 Iteration
11:11 Code Demonstration

Feel free to leave any questions.

Thanks for watching everyone!
~~~~~~~~~~~~~~~~~~~~~~~~
Рекомендации по теме
Комментарии
Автор

Thanks Kylie. Well explained and good to follow along. Looking forward for the next lessons

henrischoonderbeek
Автор

Thank you for the upload, I've just finished watching your begginer course and it is so well explained and fun. Now I am always looking forward to watching your videos.
You are great!

DS
Автор

If she teaches Machine learning from the very beginning to advance I'll be learning it to my full even I'm not interested in ML!!!

samialvi
Автор

Thank you Kylie🙂, 14th in the series now, awesome 👍

femidaniel
Автор

I learned python before so here is my support for your woek❤❤❤

马正-ws
Автор

Thank you Kylie your videos are very helpful and simple enough for me to understand as a beginner 👍

Emajjab
Автор

Really good content. I always not really understood the sequences in python, now I understand a lot more, thanks for the lesson.

(English is not my main language so sorry if a wrote something wrong)

arthurnunes
Автор

could i do this with a list of scores from a test and in the for/in (like for letter in var) statement write a line to take each score fron the list, divide it by the number of questions then multiply by 100 then print the grade? is this in a later video?

gblakney
Автор

You solve a comparative coding problem like as code code force ?

BillieBop_Bites
Автор

When u typed for letter is letter again a new variable

indian
join shbcf.ru