Comment on FizzBuzz: the test helps filter out the 99.5% of programming job candidatesparentComments−aaren11yYou don't need nested lists: ['FizzBuzz' if x % 15 == 0 else 'Fizz' if x % 3 == 0 else 'Buzz' if x % 5 == 0 else x for x in range(100) if type(x) is int]
Comments
You don't need nested lists: