Given code should give age of person.what is error ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Given code should give age of person.what is error ??

https://code.sololearn.com/cGLlq9zBxg41/?ref=app

24th Jul 2020, 4:07 AM
__n
__n - avatar
8 Answers
+ 1
Here, I've made some changes, see if you understand: https://code.sololearn.com/c29vAWncPaMd/?ref=app
24th Jul 2020, 5:48 AM
Bagon
Bagon - avatar
+ 1
You can do that too but this way it's shorter
24th Jul 2020, 6:21 AM
Bagon
Bagon - avatar
0
But days_between has 6 arguments??
24th Jul 2020, 6:16 AM
__n
__n - avatar
0
You can just pass already made dates as 2 argument
24th Jul 2020, 6:18 AM
Bagon
Bagon - avatar
0
What will if we take 6 arguments??
24th Jul 2020, 6:19 AM
__n
__n - avatar
0
can u plz give me code by taking 6 arguments of days_between???very imp for me👆
24th Jul 2020, 6:24 AM
__n
__n - avatar
0
Alright I've updated the code. Check it now
24th Jul 2020, 6:29 AM
Bagon
Bagon - avatar
0
Thank u so much👍
24th Jul 2020, 6:34 AM
__n
__n - avatar