Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.
A weather club records the daily high temperature (°C) for five days. Write a program that:
for loop with range(5).Skills: for, range, comparing values, tracking a “best so far” variable (you can start with None or the first reading).
Example: If the inputs are 18, 22, 19, 25, 20, the program should report that 25 is the largest.