num_list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

# Extracting 5
print(num_list[5])

# Extracting 7
print(num_list[7])

# Extracting 9
print(num_list[9])

# Extracting 2
print(num_list[2])

# Range 0 to 3
print(num_list[0:4])

# Range 4 - 9
print(num_list[4:10])

# Range 2 - 7
print(num_list[2:8])




