Multidimensional Lists in Python

Sdílet
Vložit
  • čas přidán 26. 02. 2021
  • 💻 Get my Source Codes and support the channel ❤️:
    www.buymeacoffee.com/fabiomus...
    ⬇️ LEARN ON THE BEST LEARNING PLATFORMS (LINKS BELOW) 😉💪 ⬇️
    ☕ Buy me a coffee: www.buymeacoffee.com/fabiomus...
    😍 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)
    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:
    czcams.com/users/FabioMusann...
    🤗 BIO PAGE (contacts, etc): solo.to/fabiomusanni
    Create Your Bio Page (10% OFF Upgraded Plans 😉): solo.to/inv/NDE4NzE2
    🔗 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/NDE4NzE2
    🧑🏻‍💻 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 CZcams 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
  • Věda a technologie

Komentáře • 7

  • @FabioMusanni
    @FabioMusanni  Před rokem +3

    ⬇️ *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: czcams.com/play/PLs8qUrmRvaR0IT4IwJl-LSweAdACW-yLK.html

  • @user-cp9dn1ff2n
    @user-cp9dn1ff2n Před měsícem

    Thank you very much, the explanation is very excellent

  • @albertovalencia992
    @albertovalencia992 Před rokem +2

    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!

    • @FabioMusanni
      @FabioMusanni  Před rokem +2

      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 😊

  • @elinanikolopoulou1769
    @elinanikolopoulou1769 Před 2 měsíci

    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 ?

    • @FabioMusanni
      @FabioMusanni  Před 2 měsíci

      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! 😊