Challenge: Improving Even or Odd Checker
Task
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
Everything was clear?
Thanks for your feedback!