Commit a5396bc9 by BellCodeEditor

save project

parent 20fb059a
Showing with 5 additions and 4 deletions
......@@ -31,10 +31,11 @@ while True:
time=pygame.mixer.music.get_pos()/1000
time_m=int(time//60)
time_s=int(time%60)
if time_s>=10:
tms=str(time_m)+':'+str(time_s)
else:
tms=str(time_m)+':0'+str(time_s)
if time_s<10:
time_s='0'+str(time_s)
if time_m<10:
time_m='0'+str(time_m)
tms=str(time_m)+':'+str(time_s)
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment