+ 1
my output in the fizzbuz project is matching to the answer. still i am not able to clear the test 1.
1 Odpowiedź
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)