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.
the first step is to add attribute that creating a tuple that (split the elements into every page)
hidding in this idea , the list slice is important.
list1 = [1,2,3,4,5]
list1[2:10] wondnt cause erro this is the key for the last page filling
very simplie solution
i dont think this is an issue, because the semantics are different: (named) tuples are immutable, while class instances are mutable
lmao, right? Always something.
This comment is hidden because it contains spoiler information about the solution
Would be nice to see some description of whats happening here :D
In my experience paginators are used requesting all the information up front is expensive on resources. In situations where we have a lot of data in the collection could constructing pages like this cause problems?
can you please explain how this works
Bien ahí compa
i guess this is 'batteries included' with python
a concise, elegent solution
python is amazing
it almost feels like cheating
Loading more items...