Challenge: Annotate the Function
Tarea
Swipe to start coding
You have the implemented is_prime()
function. Annotate this function:
- The function should receive the integer type value.
- The function should return the boolean type value.
- The function should have a description:
"""This function checks integer number is prime and returns True or False."""
Once you've completed this task, click the button below the code to check your solution.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 5
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Awesome!
Completion rate improved to 4.35
Challenge: Annotate the Function
Desliza para mostrar el menú
Tarea
Swipe to start coding
You have the implemented is_prime()
function. Annotate this function:
- The function should receive the integer type value.
- The function should return the boolean type value.
- The function should have a description:
"""This function checks integer number is prime and returns True or False."""
Once you've completed this task, click the button below the code to check your solution.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Awesome!
Completion rate improved to 4.35Sección 1. Capítulo 5
single