#!/usr/bin/env python

#lists and indexes
# A list is a mutable sequence data type. It can hold every type of data. Mutable means you can add, edit, sort
# and delete every element. List uses []. elements are separated by commas

#emply_list
empty_list = []

First_list = [1, 2, 3]
i = 0
while i <=2:
print(First_list[i])
i+=1
print(”)

# negative starts from end and goes back to first
print(First_list[-1])
print(”)

i = -1
while i >=-3:
print(First_list[i])
i-=1

1
2
3

3

3
2
1

Process finished with exit code 0