Sign InNuggetsTutorials CodePadCheatsheet


Use pygame to draw a part of piano keyboard.

In future units, you will learn how to create sound when pressing the keys. But for now, don't worry about the sound part.

As a bonus point, do you remember objects and classes? Can you define a Key class and treat each key as an object?

© CS Wonders·Home·About·Contact·Classes·Gallery·Glossary·Fun Facts