print('\n'.join(['FizzBuzz' if x % 15 == 0 else 'Fizz' if x % 3 == 0 else 'Buzz' if x % 5 == 0 else str(x) for x in range(1,101)]))
Is this a Python solution using a massive list comprehension?! I like it.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.