Break Time

Break Time!

I wrote a program that give you break by playing your favourite video(youtube):

import webbrowser
import time

total_breaks=3
break_count=0

print("This program started on" +time.ctime())
while (break_count< total_breaks):
time.sleep(10)
webbrowser.open("http://www.youtube.com/watch?v=-2U0Ivkn2Ds&list=FLapMSp10Zw5H6trxm9ynGAw")
break_count=break_count+1