0
What is wrong in this code I am stuck
n = int(input()) for x in range(1, n,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)
3 Réponses
+ 6
Coder Ayush print" SoloLearn "and not "Sololearn".
[Note: Check lower case and uppercase characters ]
+ 1
There is no problem in this code. What problem are you facing?
0
In test case two its showing this wrong python 3 fizzbuzz