Python List - How to Create a List using Brackets or the list() Function - Learn To Program

Опубликовано: 22 Март 2026
на канале: Appficial
1,550
9

A list is a container for grouping related objects. Each object can be a different type.

You can create a list by placing the elements in brackets [ ] or by using the list() method

Each list element is accessed by an index

Lists are mutable, meaning they can grow or shrink in size as needed. in-place modification is the list’s ability to grow and shrink.

Subscribe to Appficial for more programming videos coming soon. Also, don't forget to click LIKE and comment on the video if it helped you out!