my output in the fizzbuz project is matching to the answer. still i am not able to clear the test 1. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

my output in the fizzbuz project is matching to the answer. still i am not able to clear the test 1.

15th Jun 2021, 9:43 AM
shlok bhalerao
shlok bhalerao - avatar
1 Answer
0
Code: user_input = int(input()) for x in range(1, user_input, 2): 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)
15th Jun 2021, 10:15 AM
SammE
SammE - avatar