Fizzbuzz question of Sololearn | Sololearn: Learn to code for FREE!

+1

Fizzbuzz question of Sololearn

https://code.sololearn.com/c45Z0QmcZIiV/?ref=app What is missing or wrong?

4/16/2021 1:49:41 AM

Victor Machuca

1 Answer

New Answer

+3

You could simply move elif i%3==0 and i%5==0: print ("SoloLearn") to the first position under your continue elif i%3==0 and i%5==0: print ("SoloLearn") elif i%3==0 and i%5!=0: print("Solo") elif i%5==0 and i%3!=0: print("Learn")