Context Word: code. 
Question: PersonX knew how to write code better than PersonY because _ had been taught by college professors for several years. 
Answer: PersonX
PersonX knew how to write code better than PersonY because _ had been taught by online for only a week.