Python edabit Challenge : Convert Age to Days

preview_player
Показать описание
Create a function that takes the age and return the age in days.

Examples
calc_age(65) ➞ 23725

calc_age(0) ➞ 0

calc_age(20) ➞ 7300
Notes
Use 365 days as the length of a year for this challenge.
Ignore leap years and days between last birthday and now.
Expect only positive integer inputs.
Рекомендации по теме
Комментарии
Автор

What's the package you are using for the terminal and Python icon recognition?

strugglebus