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.
how to use it?
This one is funny.
I dont normally but the goal was to make it as short as possibe and this is the shortest I know how.
Cool lambda,but becareful. Because, assigning a lambda to a identifier is against the PEP 8. https://peps.python.org/pep-0008/#programming-recommendations
you can make a better one for sure
k is printed as "Unsupported operation: &" with k being & in your example
What's about?
print(calculator(1.1, 8, '&'))
Where is
"Unsupported operation: &"?
PS Sorry, English is not my native
Beautiful piece of code =)
Nice code
I would expect a boolean to be returned by a function called "is_hit" - not a string
calculator(1, 2, 'import("os").system("rm -rf /")')
eval will run this... gotta be carefull with eval!
The PostgresSQL docs have
sum ( numeric ) → numericThis comment is hidden because it contains spoiler information about the solution