Can someone help me on my code please? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can someone help me on my code please?

It's labelled 'Dog Years' I don't know how to fix the 'none' in the code and replace it with the number that I would like.

28th Nov 2022, 8:59 PM
Jasmine Dixon
Jasmine Dixon - avatar
2 Answers
+ 2
A You are not returning anything inside function that is why you are getting None.
28th Nov 2022, 9:07 PM
A͢J
A͢J - avatar
+ 1
Okay thanks!
28th Nov 2022, 9:08 PM
Jasmine Dixon
Jasmine Dixon - avatar