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: What is the lowest attendance that has a week less than 4, and w 13-7 as the result?
gpt
SELECT MIN Attendance FROM table WHERE Week < 4 AND Result = w 13-7