Limurians live on the planet Lemuria where the passage of time is measured in lims (days), limhas (weeks), limahas (months) and limaals (years), where each limha (week) has 5 lims (days), and each limaha (month) has 3 limhas (weeks) and each limaal (year) has 10 limahas (months). Given the name of a Limurian and the number of lims (days) the Limurian has lived on the planet, write a Python program to compute and print the Limurian’s age in limaals (years), limahas (months), limas (weeks) and lims (days). Call the file containing your program limurian_age.py. Sample input (shown in bold blue) and output from the program is as follows: Please enter Limurian's name: Limard Please enter the number of lims that the Limurian has lived for: 3547 Limurian Limard is 23 limaal(s), 6 limaha(s), 1 limha(s), and 2 lim(s) old.
Limurians live on the planet Lemuria where the passage of time is measured in lims (days), limhas (weeks),
limahas (months) and limaals (years), where each limha (week) has 5 lims (days), and each limaha (month) has
3 limhas (weeks) and each limaal (year) has 10 limahas (months).
Given the name of a Limurian and the number of lims (days) the Limurian has lived on the planet, write a
Python program to compute and print the Limurian’s age in limaals (years), limahas (months), limas (weeks)
and lims (days).
Call the file containing your program limurian_age.py.
Sample input (shown in bold blue) and output from the program is as follows:
Please enter Limurian's name: Limard
Please enter the number of lims that the Limurian has lived for: 3547
Limurian Limard is 23 limaal(s), 6 limaha(s), 1 limha(s), and 2 lim(s)
old.
Step by step
Solved in 2 steps with 1 images