Indexing and Slicing Python Lists for Beginners

Поделиться
HTML-код
  • Опубликовано: 7 янв 2025

Комментарии •

  • @Anthony-ro1ce
    @Anthony-ro1ce 10 месяцев назад +3

    Thank you for you clear and succinct explanation of this! I wish the books I've read and the courses I'm doing were as clear as this! 7 minutes and I understand it all!!! :)

  • @amaan_munir1
    @amaan_munir1 2 года назад +5

    This was very helpful. Thank you!

  • @hassanlearning4086
    @hassanlearning4086 2 года назад +4

    Thank you. How do you select the first and last item from a list? i.e. number list 1-5?

  • @mabasar_1627
    @mabasar_1627 Год назад

    Though it was too fast, Yeah it is really beneficial to understand Indexing and Slicing and how to divide them............

  • @farragoprismproductions3337
    @farragoprismproductions3337 7 месяцев назад

    So whatever is before the colon when using [] for indexing represents the starting value, whereas whatever is after the colon is the stop value (the value that indexing is stopped at). Nice.

  • @amb18dlb
    @amb18dlb 4 месяца назад

    If you were to slice a sentence when counting the index places would you also be counting the spaces used or just the letters?

  • @dexterpacaldo6496
    @dexterpacaldo6496 2 месяца назад

    Very helpful, thank you so much ❤❤

  • @powerquotes9492
    @powerquotes9492 3 года назад +1

    Very helpful! Thank you!

  • @derschatten8757
    @derschatten8757 6 месяцев назад

    thank you u were very helpfull, have a nice day!

  • @dzeykop
    @dzeykop 3 года назад

    Thank you John, again great lecture!

  • @AliGamingZone
    @AliGamingZone 8 месяцев назад +1

    Thank you ❤

  • @oguebube4250
    @oguebube4250 Год назад +1

    Thanks so much 😭😭😭😭😭…. I’ve been looking for a way to access values of a key in dict 😭😭😭.. and I have final exams in few minutes 😭😭😭

  • @dlo4300
    @dlo4300 8 месяцев назад +1

    thanks 🐐🐐🐐

  • @dannysfavs4122
    @dannysfavs4122 2 года назад +1

    brilliant!

  • @ketanverma7839
    @ketanverma7839 Год назад

    print(my_name[::-1]