Skip to content

Commit 9728c81

Browse files
Amit JhaAmit Jha
Amit Jha
authored and
Amit Jha
committed
adding countdown for Aaryan
1 parent 85bd57f commit 9728c81

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

countdown.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
from subprocess import call
3+
4+
number = int(input('Give me a number(0-9) : '))
5+
6+
for i in range(number, -1, -1):
7+
call(['afplay' , str(i)+'.mp3'])
8+

0 commit comments

Comments
 (0)