But there’s a huge shortage of teachers who can teach computer science. Less than 20 percent of the nation’s high schools offer the Advanced Placement course in the field.12 The number of young people taking the AP course in 2017 was lower than for fifteen other subjects, including European history. One challenge is the high cost of training teachers so they can teach computer science.