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.
So obvious... All of them come in pairs urg...
nice typehints!
same here, I'm wondering what the proof of 1.5n vs 2n would look like
This method was added in Python 3.10
AttributeError: 'int' object has no attribute 'bit_count'
...I got this when I ran the code through Python 2.7
#11bgc_431
this does not work in my jupyter notebook . says 'int' object has no attribute 'bit_count'
contains is the function for "in" operator. When we import it as "include", that does the trick.
how does this even work?
HAHAHAHAHHAHAHAH
HAHAHAHA biggest brain
not fair :c
I did it just like this.
You construct a timedelta object by providing the given parameters (hours, minutes, seconds) then you can convert it to any time unit by // dividing it with an other timedelta object which you instantiate with the correct unit (in this case 1 milliseconds).
https://docs.python.org/3/library/datetime.html#datetime.timedelta.total_seconds
It shows the built in seconds converter and lots of other useful method.
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
Loading more items...