2 ms·
I can't help but notice that it doesn't help when the order of the strings need to change. Consider the following problem: For multiples * of 105 print 'buzzfi
by rrobukef 10y ago
I can't help but notice that it doesn't help when the order of the strings need to change. Consider the following problem: For multiples
* of 105 print 'buzzfizzfuzz'
* of 35 print 'buzzfuzz'
* of 21 print 'fuzzfizz'
* of 15 print 'fizzbuzz'
* of 7 print 'fuzz'
* of 5 print 'buzz'
* of 3 print 'fizz'
- di 10y agoWhy would the order of strings need to change? I would assume that if 15=="fizzbuzz" than 105 would be "fizzbuzzfuzz", not "buzzfizzfuzz".