Skip to content

Commit aece354

Browse files
committed
one line python solution
1 parent 1fd755f commit aece354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/one-line-solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Python 1 line code for FizzBuzz
22
# Author: @mohammed-ijas
3-
print(*map(lambda v: 'Fizz'*(not v%3)+'Buzz'*(not v%5) or v, range(1,101)),sep=' ')
3+
print(*map(lambda v: 'Fizz'*(not v%3)+'Buzz'*(not v%5) or v, range(1,101)),sep=', ')

0 commit comments

Comments
 (0)