2D Lists In Python Are Easy!🐍

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • PLEASE LIKE AND SUBSCRIBE ITS FREE!
    #beginners #tutorial #python
    Check out my other videos to learn more computer science & programming concepts please :)
    Code used in the video will be pinned in the comments!
    Socials and other platforms:
    linktr.ee/Yous...

ความคิดเห็น • 1

  • @YousefCompSci
    @YousefCompSci  8 วันที่ผ่านมา

    # 2D list = a list of a list
    muscle = ["Camaro", "Mustang", "Challenger"]
    truck = ["Sierra", "Raptor", "TRX"]
    sport = ["Corvette", "Ford GT", "Viper"]
    cars = [muscle, truck, sport]
    print(cars[1][2])