Initial commit

This commit is contained in:
Pascal Engélibert 2025-02-27 00:41:31 +01:00
commit 778fe31c38
35 changed files with 1849 additions and 0 deletions

21
pub/level3.py Normal file
View file

@ -0,0 +1,21 @@
"""
Niveau 3
Jouer une mélodie
"""
import synth
encoder = synth.Encoder()
# Liste de notes, sous la forme [durée, note]
music = [
[1, 4],
[1, 3],
[1, 4],
[1, 3],
[1, 4],
[1, -1],
[1, 2],
[1, 0],
[2, -3]
]