PORQUƉ ESTƁ MAL ESTA SOLUCION | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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