# Exercise 4 Conditional statement - example if statement
import time
threshold_temp = 40
for i in range (45):
time.sleep_ms(500) # delay each iteration
print(i) # print the value of i
if i > threshold_temp: # compare i and value in threshold-temp
print("High temperature")