How to Use Square Brackets in Python

Publié le: 07 mars 2023
sur la chaîne: 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.


Sur cette page du site, vous pouvez voir la vidéo en ligne How to Use Square Brackets in Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Edlitera 07 mars 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,876 fois et il a aimé 94 téléspectateurs. Bon visionnage!