fizzbuzz2
public python v1 · immutablefor i in range(1,100): print(("Fizz" if (i%3==0) else "") + ("Buzz" if (i%5==0) else "") + (str(i) if (i%3!=0 and i%5!=0) else ""))for i in range(1,100): print(("Fizz" if (i%3==0) else "") + ("Buzz" if (i%5==0) else "") + (str(i) if (i%3!=0 and i%5!=0) else ""))