#Решение домашнего задания
# a = [1, 2, 3]
# b = [i * 2 for i in a]
# print(b)

# l1 = [1, 2, 3]
# res = 0
# for num in l1:
#     res += num ** 2
# print(res)

# time1 = 3
# time2 = 6.7
# time3 = 11.8
#
# print(time1 // 2)
# print(time2 // 2)
# print(time3 // 2)

# s = 'Hello,world'
# if ' ' in s:
#     s = s.upper()
# else:
#     s = s.lower()
#
# print(s)

