1. A range one value short
1 mark, and a result wrong by one term that looks plausibleWhat not to write
“Attendance for days 1 to 30 of a month: for day in range(1, 30):”
What to write
“for day in range(1, 31): gives the days 1 to 30. range(1, 30) stops at day 29.”
Why: range never gives its stop value: the stop is one past the last value wanted.