0
The given code solves the FizzBuzz problem and uses the words "Solo" and "Learn" instead of "Fizz" and "Buzz". It takes an inp
Can anyone please help
5 Respuestas
+ 1
Matiyas thank you it really helped me
0
show us your code attempt?
0
Matiyas n = int(input())
for x in range(1, n):
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)
This is the I tried but it shows me even numbers
0
Jainish Sangani You are welcome