Ibuprofeno.py馃拪| #09: Explica este c贸digo Python

duxtech

Cristian Fernando

Posted on January 3, 2024

Ibuprofeno.py馃拪| #09: Explica este c贸digo Python

Explica este c贸digo Python

Dificultad: Intermedio

frase = "Feliz A帽o nuevo 2024"
salida = [ letra for letra in frase if(letra == "e") ]
print(len(salida))
Enter fullscreen mode Exit fullscreen mode
  • A. 3
  • B. 0
  • C. 2
  • D. SyntaxisError

Respuesta en el primer comentario.

馃挅 馃挭 馃檯 馃毄
duxtech
Cristian Fernando

Posted on January 3, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related