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.
python new test framework is required. updated in this fork
I keep getting an error message for the modulo program stating that " mod " is not the correct syntax. I tried substituting " % ", but it created more errors throughout the code. I'm not sure how to correct for this. Does anyone have any advice?
Wrong design of pseudocode -
Set index = search_array(name, full_names, 10)
'10' should not be a constant here
The following section of code is not correct:
x_print(output_volume(5.0, calculate_volume(5.0)))
x_print(output_volume("10.0", calculate_volume("10.0")))
x_print(output_volume(15, calculate_volume(15)))
In order to pass the tests the section should read as follows:
output_volume(15.3, calculate_volume(15.3))
output_volume("30.0", calculate_volume("30.0"))
output_volume(15, calculate_volume(15))
Okay, so after going through this series with pain and horror and insanity and frustration, let me tell you why this whole series is horrible, the idea is bad, you should feel bad about it, it's the hottest garbage and it should be burnt in a fire and never looked at again:
Okay, this is probably all, I'm venting it all out here and never look at this pile of supernova hot garbage again. Please reflect on why you've created this in the first place and don't put such stuff into beta again. Nobody'd like such things become CW material.
Most of the required getter/setters are not tested at all.
This series of katas is straying more and more away from natural Python code and is just total garbage.
Please unpublish this whole series of kata. It's worthless.
The whole kata teaches practices that is anything but Pythonic.
None of the code in this kata is pythonic at all.
Is this what you want to teach newbies?
Description mistake:
Edit: It's wrong in the tests too.
There are absolutely no checks on function invocation.
What, you say you don't know how to do that? Learn some basic Python metaprogramming first. It's perfectly doable.
There are absolutely no checks on function invocation.
What, you say you don't know how to do that? Learn some basic Python metaprogramming first. It's perfectly doable.
You're mixing
float
s anddecimal
s.Again, this is Python. There are decimal types and float types, and they're not the same thing.
Also, this is Codewars, not Codecademy or FreeCodeCamp.
This is Python, not Java or some programming pre C-era.
What you're "teaching" is so out of the loop even Codecademy won't do this.
Loading more items...