Skip to content

Commit 5047037

Browse files
committed
doc: add comments
Exercises on modules with comments. Playing an MP3.
1 parent 558b366 commit 5047037

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ex021.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#Playing an MP3
12
#21- Write a Python program that opens and plays audio from an MP3 file.
23
import pygame
34
pygame.init()
@@ -7,6 +8,7 @@
78
pygame.quit()
89

910

11+
#Tocando um MP3
1012
#21: Faça um programa em Python que abra e reproduza o áudio de um arquivo MP3.
1113
import pygame
1214
pygame.init()

0 commit comments

Comments
 (0)