Multidimensional Lists in Python
HTML-код
- Опубликовано: 10 сен 2024
- 💻 Get my Source Codes and support the channel ❤️:
www.buymeacoff...
⬇️ LEARN ON THE BEST LEARNING PLATFORMS (LINKS BELOW) 😉💪 ⬇️
☕ Buy me a coffee: www.buymeacoff...
😍 One-off donation: www.paypal.me/...
SKILLSHARE
(Python, Web Dev, UI/UX Design, Music, Art, Animation and a lot more)
🔗 skillshare.eqc... (Affiliate)
DATACAMP
(Python, ChatGPT, SQL, Power BI, and a lot more)
🔗 datacamp.pxf.i... (Affiliate)
COURSERA PYTHON
(For beginners, Data Science, Data Analysis, AI, Cybersecurity and a lot more):
🔗 imp.i384100.ne... (Affiliate)
COURSERA WEB DEVELOPMENT
(Full Stack, Front-End, Back-End, Web Design and a lot more):
🔗 imp.i384100.ne... (Affiliate)
Learn how to create and use a multidimensional list in Python.
If the video was helpful, let me know in the comments down below and also like the video so that other people can see it. Needles to say I really appreciate your support 💪❤️
📨 SUBSCRIBE so that you don't miss any new video:
www.youtube.co...
🤗 BIO PAGE (contacts, etc): solo.to/fabiom...
Create Your Bio Page (10% OFF Upgraded Plans 😉): solo.to/inv/ND...
🔗 RELATED CONTENT (videos, playlists, etc) 🔗
Validate User Inputs Video: • How to Validate User I...
Python Playlist: • 🐍 Learn Python With Fa...
🤩 AFFILIATE LINKS 🤩
Create Your Bio Page (10% OFF Upgraded Plans): solo.to/inv/ND...
🧑🏻💻 ABOUT ME 🧑🏻💻
I'm Fabio, I started programming with Python a lot of years ago and I fell in love with this world.
I started this RUclips channel to help you during your own journey and I hope that my help can make you an amazing programmer who loves this world as I do.
Welcome on board!! 🚀
#pythonWithFabioMusanni #python #pythonforbeginners #pythontutorial #pythonprogramming #coding #programming
⬇️ *LEARN ON THE BEST LEARNING PLATFORMS (LINKS BELOW)* 😉💪 ⬇️
☕ *Buy me a coffee:* www.buymeacoffee.com/fabiomusanni
❤️ *Support me monthly:* www.patreon.com/FabioMusanni
😍 *One-off donation:* www.paypal.me/FabioMusanni/
*SKILLSHARE*
_(Python, Web Dev, UI/UX Design, Music, Art, Animation and a lot more)_
🔗 skillshare.eqcm.net/5gxzD2 (Affiliate)
*DATACAMP*
_(Python, ChatGPT, SQL, Power BI, and a lot more)_
🔗 datacamp.pxf.io/vN1bDj (Affiliate)
*COURSERA PYTHON*
_(For beginners, Data Science, Data Analysis, AI, Cybersecurity and a lot more):_
🔗 imp.i384100.net/k0Nk60 (Affiliate)
*COURSERA WEB DEVELOPMENT*
_(Full Stack, Front-End, Back-End, Web Design and a lot more):_
🔗 imp.i384100.net/EKWxBW (Affiliate)
Thank you for the support!❤
🎥All my videos about Python: ruclips.net/p/PLs8qUrmRvaR0IT4IwJl-LSweAdACW-yLK
Thank you very much, the explanation is very excellent
Glad it was helpful! 😊💪
Thank you very much for this video. It is very helpful and I use it as a guide for this topic.
I have a question regarding this video. What button do you press in order to see the variables in green? I think you press something approximately in 1:25 or something.
That is my question.
Thank you very much and have a great day!
Hello Alberto, thank you for the comment, I'm glad it's helpful 🤗😍
If you mean the comments (the green ones with the #) I just copied them from a text file that I had previously created. It's just a little visual representation that I created to make things clearer 😊
I want to create the following array with python:
G X
G G
I wrote array[0][0] = "G"
array[1][0] = "G"
array[1][1] = "G"
array[0][1] = "X", but the result is G X G X and not G X G G. What am I doing wrong ?
It looks like the array is correct, you are probably printing things wrong.
If this is the array that you have:
array = [['G', 'X'], ['G', 'G']]
The first child list is the first row (G X) and the second child list is the second row (G G).
To obtain what you want you can do this:
for row in array:
for value in row:
print(value, end=' ')
print()
And you will get exactly this printed:
G X
G G
Hope this helps! 💪😊
Ps. If you want to support the channel or get the source code of some of my videos, you can do so here: www.buymeacoffee.com/fabiomusanni
Thank you! 😊