Media Summary: this one uses aa for loop and template literals kata link: Grasshopper If Else Syntax Debug [CodingKata] DAY165 updated version: yet another example of the classic template literal and ternary operator ...
Codewars Python Grasshopper If Else Syntax Debug Kyu8 - Detailed Analysis & Overview
this one uses aa for loop and template literals kata link: Grasshopper If Else Syntax Debug [CodingKata] DAY165 updated version: yet another example of the classic template literal and ternary operator ... Code along with me as we solve 'Variable Assignment a refresher on the remainder operator (modulus) reworked version: using the Array() constructor, fill(), and reduce()instead of n*(n+1)/2.
we use the reduce() method in this one reduce() info: ... updated version: this one uses the filter() method filter() info: ...