Challenge: Improving Even or Odd Checker
Tâche
Swipe to start coding
In one of the previous tasks, we created an "Even or Odd" checking program. The code for that program is given.
Make the code shorter by removing the second conditional statement and using an else block instead.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 37
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 1.33
Challenge: Improving Even or Odd Checker
Glissez pour afficher le menu
Tâche
Swipe to start coding
In one of the previous tasks, we created an "Even or Odd" checking program. The code for that program is given.
Make the code shorter by removing the second conditional statement and using an else block instead.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 37
single