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.
Complitly agryment!
2 errors spotted.
File "/workspace/default/solution.py", line 37
return math.sqrt(sum(i**2 for i in sVals)
^
SyntaxError: '(' was never closed
AttributeError: 'list' object has no attribute 'equals'
This is best practice rather than the one liner most popular answer because this is much more readable.
The exact same thing i did rofl
your approach was unique
same here lol
Practicly i had the same solution jajaja
I had a similar approach!
https://docs.python.org/3/reference/expressions.html#shifting-operations
same code with me :D
are you sure that you gave the conditions correctly?
The age is mentioned as atleast 55 ie >= 55.
This is what caused the error in my first test run as one test value was (55,21).
i did the same but few of them passed rest didn't i don't know why
Hi JoshK.py!
Yes, you are right. Dictionaries are different structures than lists.
There are no key:value pairs in lists.
Brdgs, MoniaJ
Waow i did the same
Hi Slysenko,
Thank you very much!
I think I totally get it now. Please become a Python professor!
Thank you again,
Josh
Loading more items...