How to Use Square Brackets in Python

Опубликовано: 07 Март 2023
на канале: Edlitera
5,876
94

Using Python parentheses correctly is important to avoid syntax errors. We continue our three-part Python Parentheses series with square brackets. Square brackets are used to create lists, list comprehensions, and for selecting or retrieving items from a collection. To see the previous video of this three-part Python Parentheses series, click the link below.

How to Use Parentheses ( ) in Python:    • How to Use Parentheses in Python  
Edlitera blog: https://www.edlitera.com/en/blog

Python Parentheses Cheat Sheet: https://www.edlitera.com/blog/posts/p...

#howtouseparenthesesinpython #pythontutorial #pythonforbeginners #parentheses

(00.33) How to Use Square Brackets [] in Python
(00:54) Making Python Lists
(03:10) Making Python List Comprehensions
(07:26) Retrieving Items from a Python collection
(10:59) Retrieving Items from a Python List
(11:39) Retrieving Items from a Python Dictionary
(13:06) Getting a Slice from a Python Collection

Edlitera provides on-demand and live online training in programming, data science, data analysis, and data engineering.


На этой странице сайта вы можете посмотреть видео онлайн How to Use Square Brackets in Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Edlitera 07 Март 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 5,876 раз и оно понравилось 94 зрителям. Приятного просмотра!