DEV Community

loading...

Discussion on: Coding Puzzles: Week of 4/8

Collapse
aspittel profile image
Ali Spittel Author • Edited

My Python solution:

def stairs_in_20(stairs):
      return sum(i for sublist in stairs for i in sublist)  * 20