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 know this is an old fork to an even older translation, but I will list issues and reject, anyone wanting to fix can do so on a fork.
**
, probably Python should allow it toofrom math import pow
. For an 8kyu it doesnt need to be overly strong, but at least the basic ways of importingmath
should be blockedFirst of all, I was the one to answer you earlier about prohibitting
**
, so I know it's your first translation. Secondly, after you said you were translating I sent a follow-up message about a PROPER anti-cheat which also prohibits the use ofpow
. Thirdly, I'm giving you a chance. I'm giving you a chance and I'll gladly approve this translation if you at least add random tests like this:If you have a problem with it, please fork it instead of leaving unmotivating and non-constructive comments. It is really just unnecessary.
And for your information, this is my first translation and no one ( Including myself) expects it to be perfect.
This comment is hidden because it contains spoiler information about the solution
This one seems easier than this other kata that disallows that operator: https://www.codewars.com/kata/power/train/javascript
This comment is hidden because it contains spoiler information about the solution
The translation is just as bad as the kata is (it was approved by ZED? Unbelievable).
There're no random tests and the anticheat makes no difference (it's even worse than in JS as you can simply
power = pow
)...Put the following code in the
Preloaded
section:I'm not sure if this will be sufficient, but it blocks the most obvious ways to raise
n
to the power ofm
and acts as an ok anticheat.By the way, please be patient when asking for help.
If you're having a problem with a kata, ask questions and move on to another one. Don't expect immediate responses because they're just regular users like yourself. They're in different time zones, may not have time during weekdays, etc.
If your issue is about Codewars itself, then open an issue on GitHub so that we can look into the problem.
How to find out what is
gitter
:step 1: open google and search for "codewars gitter"
step 2: ???
step 3: profit
There's no real way to get in touch with other user if you don't have their e-mail/skype - only through discourse or gitter.
Python translation submitted :)
I'm actually just trying to translate one.
But thanks!
(You're asking in a wrong thread, it's
feature requests
, notcontent
/site design
)By parsing the solution like this:
but this snippet will absolutely NOT suffice as an anticheat, and you'll have to ban other ways to raise a number to the power of
n
.Apart from that, it's highly probable that you're working on a duplicate, so browse the katas before publishing anything.
@Phil157
Moderator is just another name for power users with more privileges (high honor points). He also maintains the Fortran test framework used on Codewars.
Gitter is a chat service where you can talk to other users. You can join at https://gitter.im/Codewars/codewars.com
How do I disable ** in python for a kata?
Thanks!