Question: Ask the user for his / her name and current age ( ignore months / days ) . Then calculate the current user's age in
Ask the user for hisher name and current age ignore monthsdays Then calculate the current user's age in minutes AND the user's age in seconds for years from now. To keep the problem simpler, assume a year is exactly full days. The output must be on one line, as provided in the sample output.
Hint: To make your code more readable, use multiline fstrings and put each mathematical expression within each fstring.
Sample Input
Nhan
Sample Output
Nhan: Now: mins old; Future: secs old.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
