PORQUÉ ESTÁ MAL ESTA SOLUCION | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

PORQUÉ ESTÁ MAL ESTA SOLUCION

n = int(input()) for x in range(1, 3*n+1): if (x%3==0)&(x%5==0): print(str(x)+" "+"SoloLearn") elif (x%3==0): print(str(x)+" "+"Solo") elif (x%5==0): print(str(x)+" "+"Learn") else: continue

2nd Jun 2022, 12:49 PM
Isaías Machado Contreras
2 Answers
+ 1
¿cómo puedo restaurar el Código en el curso de php o activar la opción que siempre la encuentro desactivada?
13th Jun 2022, 1:31 PM
Isaías Machado Contreras
+ 2
👉 Please tag the relevant programming language!!! 👉 In Python we use "and", not "&" for this comparison 👉 Read the task description carefully: Only output the number when it does NOT meet the other conditions. Iterate range(1, n)
2nd Jun 2022, 12:56 PM
Lisa
Lisa - avatar