Challenge: Annotate the Function
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 5
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Awesome!
Completion rate improved to 4.35
Challenge: Annotate the Function
Scorri per mostrare il menu
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Awesome!
Completion rate improved to 4.35Sezione 1. Capitolo 5
single