my_list = [0.2, 0.1, 0.3, 1.1, 0.7, 0.5, 1.2, 1.3, 1.4, 1.2, 1.9, 1.1, 0.2,
    1.3, 1.5, 1.4, 1.2, 1.1, 0.2, 1.3, 0.1, 1.6, 0.2, 0.5, 1.0, 1.1, 0.2]
x = 1
result = [my_list[i:i + 5] for i in range(len(my_list) - 4) if all(i > x for
    i in my_list[i:i + 5])]
Scanning list for 5 consecutive values greater than x