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.
i've resolved that 8 months earlier when you write suggestion, not now :)
Eight months later haha, but yeah looks good! Cheers
-deleted
Yours is invaid now @natan :)
I've added that brilliant test
[ "Apple is $5.", "Banana is $7.", "Orange is $2.", "Lisa has $26.", "Arthas has $41.", "Lisa buys 2 apples.", "Arthas buys 1 banana.", "Lisa buys 5 oranges." ]
And changed my solution :)
I've redesigned inital code to has 4, 8, 4 indentation levels :)
I had replaced
Currency is always followed by the $ symbol
toCurrency is always preceded by the $ symbol
I skipped that now i've changed to
`Alice has $26 and buys 2 apples, 5 oranges for $20 (2 * 5 + 5 * 2), she keeps $6.
John has $41 and buys 1 banana for $7 (1 * 7), he keeps $34.`
Also here's a case to break your solution :^)
^ that still has the old format.
I think this note can now be dropped:
Initial code still needs re-indenting (currently has indentation levels 3, 6, 2 -- expected 2 4 2 or 4 8 4)
Well done!!! and thank you again both of you :)
Give me a positive vote if you think this kata is okay :)
natan: entering a kata editor forfeits the kata.not sure if completely or if any future eligibility is left, but I IRC you lose any eligibility to what's already there.
Loading more items...