DEV Community

loading...

Discussion on: Daily Challenge #40 - Counting Sheep

Collapse
matrossuch profile image
Mat-R-Such

Python

def count_sheep(n):
    return ''.join(map(lambda n: '%d sheep...' %(n),range(1,n+1)))