19th Apr 2020, 5:39 PM
Oma Falk
Oma Falk - avatar
+ 4
Hey You run into the code_as_you_speak trap. If m1 in [1,2,3] and m2 in[1,2,3]: is correct
19th Apr 2020, 5:26 PM
Oma Falk
Oma Falk - avatar
+ 4
MyNameIsMutable for some values it works 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 I will do some corrections
19th Apr 2020, 5:34 PM
Oma Falk
Oma Falk - avatar
+ 3
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 there are still some errors in it. the problem occurs in other places too. Also some logical problems: m1 = 4 and m2 = 2 wont work. the program is much complicated than you realized up to now. if u try to make it run, it is an exciting journey...
19th Apr 2020, 5:47 PM
Oma Falk
Oma Falk - avatar
+ 2
I used your code and it worked with my age down to the week. I even proof checked the weeks and months. What age is it that isn't giving the right answer?
19th Apr 2020, 5:25 PM
MyNameIsMutable
MyNameIsMutable - avatar
+ 2
You, in principle, are not calculating correctly, you need to proceed from the number of days lived and only then determine the age. And remove unnecessary print, one at the end of the code is enough.
19th Apr 2020, 7:02 PM
Solo
Solo - avatar
0
Line 27 and 32 u an do the same way as line 22.
19th Apr 2020, 6:42 PM
Oma Falk
Oma Falk - avatar