Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 8410af9

Browse files
committed
Add src and tests directory and Make module file
1 parent eacc708 commit 8410af9

9 files changed

Lines changed: 4 additions & 1 deletion

File tree

projects/Calculate Age/calculate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ def month_days(month, leap_year):
4747
day = day + localtime.tm_mday
4848
print("%s's age is %d years or " % (name, year), end="")
4949
print("%d months or %d days" % (month, day))
50+
51+

projects/Calculate Age/src/__init__.py

Whitespace-only changes.

projects/Calculate Age/src/calculate_age.py

Whitespace-only changes.

projects/Calculate Age/src/main.py

Whitespace-only changes.

projects/Calculate Age/src/utilize_date.py

Whitespace-only changes.

projects/Calculate Age/test_calculate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ def test_month_days():
1717
assert month_days(1, False) == 31
1818
assert month_days(11, True) == 30
1919

20-
# "pytest -s test_calculate.py" to test this file
20+
# "pytest -s test_calculate.py" to test this file
21+

projects/Calculate Age/tests/__init__.py

Whitespace-only changes.

projects/Calculate Age/tests/test_calculate_age.py

Whitespace-only changes.

projects/Calculate Age/tests/test_utilize_date.py

Whitespace-only changes.

0 commit comments

Comments
 (0)