# Цикл While

# i = 5
# while i < 15:
#     print(i)
#     i = i + 2

# Цикл For
# for i in 'hello world':
#     print(i * 1, end='')

# Оператор Continue

# for i in 'hello world':
#     if i == 'o':
#         continue
#     print(i * 2, end='')


# Break
# for i in 'hello world':
#     if i == 'o':
#         break
#     print(i * 2, end='')

# Else
# for i in 'hello world':
#     if i == 'a':
#         break
#     else:
#         print('Буквы а в строке нет')

# кортеж
# a = tuple('hello world')
# print(a)


# set
# a = set('hello')
# print(a)


#range
# a = ['Mary', 'had', 'a', 'little', 'lamb']
# for i in range(len(a)):
#     print(i, a[i])
