human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Week, Date, Opponent, Result, Attendance
###Question: Which Week has a Result of w 24-0, and an Attendance smaller than 10,000?
gpt
SELECT MAX Week FROM table WHERE Result = w 24-0 AND Attendance < 10,000