Untitled

 avatar
unknown
plain_text
2 months ago
203 B
2
Indexable
def run():
    t2 = float(input("Day 1 : "))
    for i in range(2, 8):
        t = float(input(f"Day {i} : "))
        if t < t2:
            print(f"Temperature dropped on day {i}")
        t2 = t
Editor is loading...
Leave a Comment