You and I both. So much to learn. I love coming and seeing what the other's solutions are, it's almost like having hundreds of mentors seeing the different thought processes.
Doesn't work for me. My code in IntelliJ works flawlessly, but when I try to submit the kata I get this error:
'0.0 is above freezing temperature' should equal '10.0 is above freezing temperature'
'0.0 is above freezing temperature' should equal '-5.0 is freezing temperature'
You only needed one loop and that would have been enough to create both lists.
great solution
This is so effective, instead of double looping to create 2 lists...
You and I both. So much to learn. I love coming and seeing what the other's solutions are, it's almost like having hundreds of mentors seeing the different thought processes.
I forget how simple slices are, they can do so much yet I forget how great they are all the time.
this makes me feel funny
Very clean. I should have thought of this.
Read it here
In my actual code there is no typo. I made it while typing the code here.
What do you mean by integer division? Why shouldn't I do it?
I am a beginner and I really don't get what's going on...
Typo: celcius and you're doing integer division (Python version is 2.7.6).
This comment is hidden because it contains spoiler information about the solution
No one can help you without seeing your code. Use spoiler tag.
Strange, because I when I do the exact same tests in the IDE I get correct results.
This doesn't mean that your code is actually 100% correct.
From what I'm seeing, I can tell you're doing it wrong: your actual temperature doesn't correspond to the expected one. Not an issue with the kata.
Doesn't work for me. My code in IntelliJ works flawlessly, but when I try to submit the kata I get this error:
'0.0 is above freezing temperature' should equal '10.0 is above freezing temperature'
'0.0 is above freezing temperature' should equal '-5.0 is freezing temperature'