#im new to python and want to learn the basic by solving easy question. thank you
39 messages · Page 1 of 1 (latest)
i'm guessing you're writing a function that takes in a single integer (humanYears) and then returns a tuple of three integers, corresponding to:
- the input
humanYears - the calculated catYears of your cat, and
- the calculated dogYears of your dog
christopherfujino seems to be correct. To add on, I would recommend against codewars and coding exercises as a beginner. You are much better off working on projects that interest you instead.
It seems to be
yeah, i used to use codewars
i just thought maybe they had a japanese sensei CS teacher
Same, but projects are more fun and more useful
but now i remember codewars calls them kata
haha I can see that
this is subjective
some people find them fun
i would definitely say this particular one is neither fun nor useful
Okay well maybe the fun is more subjective
and useful depends on what your goals are
But objectively, projects are more relevant in the long term
i would say this is subjective too 🙂
Haha let's agree to disagree
sounds good to me
you're suggesting i shouldn't do this?
I don't think it's a well written prompt
You could try it, but I agree it's not very informative
and this doesn't seem to model a real world problem very well
i have code competition coming on 16th july (my tcr put me into this so i have to learn within short amt of time help)
its diffcult
if the code competition has questions like this, i wouldn't want to win it
do u have any suggestions on how to improve 😭
let me put it this way, if i were interviewing for a job and they gave me this question, i would re-think if i wanted to work there
doesn't codewars have like reviews/scores on kata?
i haven't used it in many years, but i remember liking the platform back then
i only use w3school
i would just skip the ones that seemed poor quality
I think it still has it
my point is, i think you can level up your data structures and algorithms with codewars, or leetcode, but don't do every single one
ideally, choose ones that are slightly more difficult than what you can handle
if you can't even understand what they're asking, i'd just skip it. it's either way too hard...or just poorly written
this one seems interesting
Does that one sufficiently challenge you?