# from lesson5.cars.today import cars
# print cars


import random

# numbers = [37, 97, 12, 99, 102, 31, 7, 9, 5, 0, 1, 10, 13, 17, 19]
# print sum(numbers[2::3])


#ETO KAK SREZY RABOTAYT
#
# info = ['jama', '10809', '30', 'female', 777]
# name = info[:1]
# address = info[1:2]
# age = info[2:3]
# sex = info[3:4]
# number = info[4:5]
#
# print name
# print address
# print age
# print sex
# print number




              # traffic light
# import time
# play = True
# color = ['red', 'yellow', 'green']
# while play:
#         for lights in color:
#             if lights == 'red':
#                 print lights + ' stop'
#                 time.sleep(5)
#             elif lights == 'yellow':
#                 print lights + ' attention'
#                 time.sleep(5)
#             else:
#                 print lights + ' go'
#                 time.sleep(5)