You need to sign in or sign up before continuing.×
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.
This comment is hidden because it contains spoiler information about the solution
When rounding the answers,
ceil
,floor
, andround
all failed a different subset of the tests.I guess you're thinking about
r'\bopen\s*\('
? But, it's not safe enough:would pass the check without problems.
This would actually be quite trivial with a little regex... certainly no AI is necessary.
"why not?", I'd say?
Why use lambdas if you're just going to assign them to names? You may as well use the (more readable) standard
def
syntax.Python supports inner functions; you can put
eply
,mcglothin
, andlombardi
insidecalculate_1RM
and avoid cluttering the namespace.This isn't crucial.
Please, write an AI that will realize that comments are not executable, and I will gladly replace the current anti-cheat with it.
The cheat detection in the Python version is overly sensitive. For instance, I couldn't use the words "open parenthesis" in a comment because it said I couldn't use open(), and it wasn't smart enough to realize that comments aren't executable.