Utilizor
Contact Us

Python Arrays

Array implementation using lists.

Examples

Create Array (List)

Using list as an array.

cars = ["Ford", "Volvo", "BMW"]
print(cars[0])

Modify Array

Change an element.

cars = ["Ford", "Volvo", "BMW"]
cars[0] = "Toyota"
print(cars)

Test Your Knowledge

Python Quiz

No quiz available for this topic yet.