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.
fsum
is for floating point numbers, hence the precision issue. When dealing with integers,sum
is the function to use.I'm new to python to. I search in math package and found math.fsum function, thinking as it to be more accurate but it just failed the test for large numbers. Maybe there is some precision issue
yes
I believe it is better to change 'i' into '_' since 'i' is not used after again.
I'm still new to slicing in python. This solution has a couple great examples. Thank you. I appreciate it.
This comment is hidden because it contains spoiler information about the solution
you will know later to never change the inputs given.incase u need to then make a copy of them
The res variable is unnecessary I think since the signature variable can definitely be used for the tribonnaci operation and for the return with some rejigging
Beautiful. Any suggestions(anyone) on getting better at thinking more like this. Having some mental blocks lately.
bruhhhh why i didnt think like this
TIL theres a built-in sum function.
I'm new to Python...
hahaha
you guys make me feel stupid lol. that's a great motivation to work harder.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...