Music Score using Python

Music-ScoreIn this challenge we are going to use Python to draw a music score by positioning notes on the staff.

Look at the following code:

Your challenge:


Tweak the code given above so that the user can enter several notes at the same time. For instance the user should be able to type “CABFFE”. The program should display all six notes on the staff.

By completing this challenge you will further improve your string manipulation techniques in Python.

Share Button
Posted in Computer Science, Python - Advanced, Python Challenges Tagged with:

Our Latest Book

Follow this blog