Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Kata retired.
Enabled in this fork
how?
Yes... you can do that.
This comment is hidden because it contains spoiler information about the solution
from processing import *
def setup():
size(500,500)
def draw():
background(220)
text(str(mouseX) + ", " + str(mouseY), 20, 20)
fill(249,248,247)
rect(128,98,150,190)
line(128,185,279,157)
line(130,194,281,166)
line(128,208,278,175)
draw = draw
run()
Funny how the solution is simpler than where i start making this task.
fixed~
The example conversions have the units flipped. Should be ex. 24C = 20.1R
Enabled
Every translation now has approximate equality on the level of test checker, resolved
Done, I think I can close out this issue then ;^^
nahhh, if the kata was translated to C#, the signature would be
CelsiusToRomer
, doing this explicitly for each language with different naming conventions is not ideal as of current standards and is hard to maintain overtime.So, the ideal approach would be to completely remove the function names, like just writing
you've decided to write a function that takes...
As for the examples, the same generalized approach applies , something in the form of
Input --> Output
is sufficient. If solvers need to get a clearer idea, they may refer to sample tests which serve such purpose.Added the different signatures for the first and reworked the example for each language for the second proposals, please check
Loading more items...