Solution Exercise 5: test the parity of a number in python

Exercise 5

Write a program in Python language that asks the user to enter an integer number 'n' and display whether this number is even or odd.

Solution




 

Younes Derfoufi
CRMEF OUJDA

1 thought on “Solution Exercise 5: test the parity of a number in python

Leave a Reply

Your email address will not be published. Required fields are marked *