- 1
Why my fizzbuzz cod didnt pass?
I write code in python and it didnt pass the quiz Can anyone help 😢 n = int(input()) for x in range(1, n+1): if x % 3 == 0 and x % 5 == 0: print("SoloLearn") elif x % 3 == 0: print("Solo") elif x % 5 == 0: print("Learn") else: print(x)
2 Respuestas
+ 4
All Correct, but According to question, it must skip the even values or skip those numbers divisible by 2.
HINT - use continue
0
Can you send the link to the code ?