+ 1

Fizzbuzz question of Sololearn

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

16th Apr 2021, 1:49 AM
Victor Machuca
Victor Machuca - avatar
1 Respuesta
+ 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")
16th Apr 2021, 3:57 AM
BroFar
BroFar - avatar