Dec-15-2019, 11:06 PM
Can someone explain the logic of the near_ten solution(s)on the codingbat website? Gregor Ulm has a solution that I really don't get. Then there's another that starts with a list: nums = [num-2, num-1, num, num+1, num+2] and goes into a for loop. Can't seem to wrap my old brain around it.