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