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

9th May 2021, 10:55 AM
Jainish Sangani
Jainish Sangani - avatar
5 Respuestas
+ 1
Matiyas thank you it really helped me
9th May 2021, 11:20 AM
Jainish Sangani
Jainish Sangani - avatar
0
show us your code attempt?
9th May 2021, 10:57 AM
Matias
Matias - avatar
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
9th May 2021, 11:01 AM
Jainish Sangani
Jainish Sangani - avatar
9th May 2021, 11:10 AM
Matias
Matias - avatar
0
Jainish Sangani You are welcome
9th May 2021, 11:21 AM
Matias
Matias - avatar