Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

FizzBuzz in Python Using Lambda

print(*map(lambda i: 'Fizz'*(not i%3)+'Buzz'*(not i%5) or i, range(1,101)),sep='
')
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #FizzBuzz #Python #Using #Lambda
ADD COMMENT
Topic
Name
4+6 =