Skip to content

Commit b6e824c

Browse files
committed
Reformat code
1 parent 3881d67 commit b6e824c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python-class/employee.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def compute_age(self):
2020
today = datetime.today()
2121
age = today.year - self.birth_date.year
2222
birthday = datetime(
23-
today.year,
24-
self.birth_date.month,
25-
self.birth_date.day
23+
today.year, self.birth_date.month, self.birth_date.day
2624
)
2725
if today < birthday:
2826
age -= 1

0 commit comments

Comments
 (0)