Ideally it should be pothole_case(or snakecase as you call it). I guess they are used to typing in other languages more than Python?
But yes, they should not be in CamelCase.
Why are these naming the functions in camelcase (convertToCelsius) instead of snakecase (convert_to_celsius)?
Too late to change.
Done. Thank you for the feedback.
The return type should be a tuple
Man that was a chaos to debug, not your fault though, it was bacon's fault!
Was a good one :)
description is incorrect/misleading:
C# Translation Kumited - please carefully review and approve :D
In Python you can access list elements from the right by using a negative index, e.g ['a','b','c'][-3] = 'a'.
['a','b','c'][-3] = 'a'
Modifications have been made, but the description lacks the informations about the rounding rules. How are we supposed to know what to do?
Check my comment on my same issue - these should not be functions, just either simple variables (or create property from the functions).
Either user.rank as a variable or use @property decorator:
After fixing the issue below, I suggest to make the kata a bit harder, because this way it's very easy (basically just completing a simple function). It's just an interesting concept a little bit "wasted" this way. You could:
Oh, and definitely, it needs more tests!
Works a treat!
I cleared up the test cases, I hope it's fine now :-)