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.
It is bad practice to create a list in the sum function. A generator will not allocate memory. Also, I find x and y to be better names for points in this, i.e. math, domain.
Using package not in the standard python library like numpy, to test others is not very good.
I think we come here to train language , not the special library.
Could the Tokenizer's source code be made available? I'm trying to solve this in Python first and since it's not available i'm hand-writing my own.
thanks. i really like list comprehensions and generator expressions so i wanted to apply them to this case.
Nice! I love one liners. Expecially when they are an upgrade with no downsides like this one.
Run the code locally with some debugging messages to see why it times out, i.e. an infinite loop or something. to see what code is being run just do a console.log(code) or print(code) or whatever within the interpret function.
Afaik input is no longer a reserved keyword in python
it may have been when you commented though.