This comment is hidden because it contains spoiler information about the solution
funny *args scored lower than *a. *args tips you off that you are summing a variable number of arguments
No its just shocking to see how my solution compares to this. Mines about 7 lines and this does the same thing in just 1.
maybe awesome to look at, but awful on the performances side, so...
You oneliners are awesome. Never knew expressions like these existed !!!.
Thanks, this is honestly new to me
Google Python List comprehensions
Did you ever figure this out?
very long not efficient
Proportional to the number of digits of val so O(log n) instead of the naive O(sqrt n).