Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Variable Name Fixer | Variable and Assignment Mistakes
Common Python Mistakes and How to Fix Them

bookChallenge: Variable Name Fixer

Tarea

Swipe to start coding

Complete the function fix_variable_names to correct variable naming and assignment issues in the code.

  • Rename any variables that use invalid names (such as those starting with a digit or containing spaces).
  • Change any variables that use reserved Python keywords as names.
  • Fix any accidental overwrites of variables that should remain distinct.
  • Ensure all variable names follow Python naming conventions.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 3
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

close

Awesome!

Completion rate improved to 5.26

bookChallenge: Variable Name Fixer

Desliza para mostrar el menú

Tarea

Swipe to start coding

Complete the function fix_variable_names to correct variable naming and assignment issues in the code.

  • Rename any variables that use invalid names (such as those starting with a digit or containing spaces).
  • Change any variables that use reserved Python keywords as names.
  • Fix any accidental overwrites of variables that should remain distinct.
  • Ensure all variable names follow Python naming conventions.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 3
single

single

some-alt