Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0dbc9b9

Browse files
small changes in comment section
1 parent 3b1baee commit 0dbc9b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Age_Calculator/Age_Calculator.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def calculate_age(birthday):
1212
remaining_months = abs((12-birthday.month)+today.month)
1313
remaining_days = abs(today.day - birthday.day)
1414

15-
# Return the age as a formatted string
15+
# Return the age as a formatted string
1616
age_string = f"Age: {year_diff} years, {remaining_months} months, and {remaining_days} days"
1717
return age_string
1818

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /