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 Antworten
+ 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