The Sphero Bolt is a robot ball that you can program through an app. It features an animated LED matrix and has an onboard gyroscope, accelerometer and infrared communications. Apple will offer different levels of coding classes using the Sphero Bolt, among other coding tools.

Apple created its own coding curriculum, Everyone Can Code, back in 2016. It focuses on teaching Apple's programming language, Swift. And Sphero has previously teamed up with Facebook to bring its robots and coding classes into schools. The pairing between the two, and focus on coding sessions, is a natural fit.

"Coding is a critical skill that gives people of all ages the chance to create and share their ideas with the world," said Tim Cook, Apple's CEO, in a release. "Apple has long believed coding is the language of the future, and we've created a range of tools to make it fun and accessible for everyone. We're thrilled to offer thousands of sessions in Apple stores for EU Code Week, and can't wait to share our love for coding with young people and educators across Europe."