Challenge: Annotate the Function
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 5
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Awesome!
Completion rate improved to 4.35
Challenge: Annotate the Function
Veeg om het menu te tonen
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Awesome!
Completion rate improved to 4.35Sectie 1. Hoofdstuk 5
single