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.
This explanation of
sorted()
exectued after i**2 which "makes the negative value ignorable" is confusing to me.I understand that (-3)**2 = 9 and -3**2 = -9.
When does the parenthesis occur to create a positive integer?
This still works, try again - because sorted is executed after i ** 2 is applied for each i in array1, this makes the negative value ignorable;
as -11 will become 121 before being sorted.
ΠΠΎΠΆΠ°Π»ΡΠΉΡΡΠ° :)
Π‘ΠΏΠ°ΡΠΈΠ±ΠΎ Π·Π° ΠΏΠΎΠ΄ΡΠΊΠ°Π·ΠΊΡ Π΄Π»Ρ ΡΡΠ°ΡΠΈΡΠΊΠ°!
Π₯Π΅Ρ , ΠΏΡΠΈΠ²Π΅Ρ :)
ΠΡ Π°, ΠΏΡΠΈΠ²Π΅Ρ)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution