We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1108627 commit 701b063Copy full SHA for 701b063
1 file changed
take_a_break/TakeABreak.py
@@ -1,12 +1,14 @@
1
+#!/usr/bin/python
2
+# -*- coding: utf-8 -*-
3
import webbrowser
4
import time
5
6
total_breaks = 3
7
break_count = 0
8
-print("This program started on"+time.ctime())
9
+print 'This program started on' + time.ctime()
10
-while(break_count < total_breaks):
- time.sleep(2*60*60)
11
- webbrowser.open("http://www.youtube.com")
12
- break_count+=1;
+while break_count < total_breaks:
+ time.sleep(2 * 60 * 60)
13
+ webbrowser.open('http://www.youtube.com')
14
+ break_count += 1
0 commit comments