#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Feb  4 19:02:39 2019

@author: aleksandr
"""

cheeses = ["chadder", "edam", "gouda"]
numbers = [1, 2, 3]
empty = []

#print(cheeses, numbers, empty)
#
#print(cheeses[0])
#
#for cheese in cheeses:
#    print(cheese)

#for i in range(len(numbers)):
#    numbers[i] = i*2
#    
#print(numbers)

#print(cheeses + numbers)

#print(cheeses * 5)

l = ["a", "b", "c", "d", "e", "f", "g", [1, 3]]
#print(l[1:6]) #выводит элементы с 1 по 5
#print(l[:2]) #выводит элементы с 2 до 0
#print(l[2:]) #выодит элементы с 2 до последнего
#print(l[:]) #копирует полный список
#
#l[1:3] = ["x", "y"]
#print(l)

#l.append("h")
#print(l)
#
#l2 = ["j", "k"]
#l.extend(l2)
#
#print(l)

#l3 = ["a", "s", "d", "f"]
##l.extend(l3)
##l.sort()
##print(l)
#
#l3 = l3.sort
#print(l3)

#def add_all():
#    total = 0
#    for i in numbers:
#        total = total + i
##    print(total)
#    return(total)
#    
##add_all()
#print(add_all())

#print(sum(numbers))

print(len(l))
