Yes, 2.7 is still widely used in the industry. As are some other languages. But this is new code (well I'm thinking it's newer than 2008, or at least they've had ample time to update it before releasing it now in 2016).
So why not use 3.x? Aren't students better served by learning modern language features, and not being left behind at the previous, outmoded version?