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, Kickoff Time, Attendance
###Question: What is the average number of weeks that the opponent was the Denver Broncos?
gpt
SELECT AVG Week FROM table WHERE Opponent = denver broncos