0
FizzBuzz in Python Free Version how to unlock test case 2?
I don’t have Pro SoloLearn and am working on the Python FizzBuzz End of Mod project. Got the first test case solved but the second test case is locked. How do I unlock the second test case? https://code.sololearn.com/cF7Q4bWfHQlS/?ref=app
6 odpowiedzi
+ 7
I missed to notice that we need to change the code to skip the even numbers
So, you have to use 2 as a step in the range.
for x in range(1, n,2):
+ 2
i got it solved. I dont know what i would do without this discussion board. thanks everyone for the help!
0
i tried removing my 2nd and 3rd if statements reverts the code back to original. the 2nd and 3rd if statements make the code acceptable to test case 1.
0
my problem is what does it want for test case 2? when I cant see the code in order to solve it?