Skip to content

Commit 2bbcea8

Browse files
committed
Add main program file to call print header
1 parent d9753e0 commit 2bbcea8

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# ------------------------------------------------------------------------
2+
# 100 Days of Code
3+
# Day 1-3
4+
#
5+
# Pomadaro Timer
6+
# - Playing with Datetimes...
7+
#
8+
# Brent Gawryluik
9+
# 2018-07-09
10+
# ------------------------------------------------------------------------
11+
12+
import helpers
13+
14+
15+
def main():
16+
helpers.print_header('Pomadaro Timer')
17+
work_duration = get_duration_input("WORK")
18+
rest_duration = get_duration_input("REST")
19+
20+
21+
def get_duration_input(activity):
22+
return input("Please enter for how many minutes you would like to {}: ".format(activity))
23+
24+
25+
if __name__ == '__main__':
26+
main()

0 commit comments

Comments
 (0)