filmov
tv
Learn Python Episode #11: Lists (Arrays)
![preview_player](https://i.ytimg.com/vi/E0N85H08QJQ/maxresdefault.jpg)
Показать описание
In this video we are going to discuss lists and what they are in Python. So, if you have experience with programming in other languages, let's say PHP, you know to create an array, and what an array is. For those who do not have experience programming, an array is a way of keeping data organized and within a single construct. For single-dimensional arrays, we can implement it as a list in Python. To create a list in Python we use square brackets:
["Movies", "Games", "Python"]
This becomes a list that has 3 indexes. To call the first item in the list you write the following:
["Movies", "Games", "Python"][0]
Remember, when programming the first ID of the item in a list or an array will be 0. We can also concatenate a list item with a string.
print("I Like" + ["Movies", "Games", "Python"][0])
If we were to change the index to number to 1 it would print out "I Like Games". So, that is what a list is in Python. It's just a way to create a collection under one variable. In the next video we will cover dictionaries.
Learn Python Episode #11: Lists (Arrays)
Lists in Python - #11
Python for Beginners | Ep -11 | String and List Splicing| Tamil | code io
Python Tutorial for Beginners | Lists and its Methods #11
Testing Python code: Python Crash Course - Episode 11
Intro to Python #11 - Lists - w/Brent (DocJayde)
Episode 11 live.withcode.uk Python Live Coding: Using lists to make a random story generator
Strings in Python | Python Tutorial - Day #11
Intro to Python episode 11
Normal People VS Programmers #coding #python #programming #easy #funny #short
Python 101: Episode #11 - Classes
P_32 List in Python and List Functions | Python Tutorials for Beginners
Introduction to Lists in Python | Python Tutorial - Day #22
Mod 11A Python List
Create a Spiderman using python coding |python programer| #tech #python #coding
Bubble Sort in Python! #shorts #python #programming #coding
Learn Python - Full Course for Beginners [Tutorial]
What is Complex Data Type? Continue! - Python Short Series Ep. 11 _ #python #datatypes #complex
Let's Learn Python with Programming Hub | Episode 11
Python for Beginners | Ep -09 | List Functions | Append - Sort - Len - Pop | Tamil | code io
Lists in Python EXPLAINED | Python Lists | Python Tutorial for Beginners #9
Python Full Course for free 🐍
Python Basics: Live.withcode.uk Season 2 Episode 12: Lists
what is a List in Python?
Комментарии