Question: Write a Python program that seeks a number from the user by printing the message 'Please enter an integer:' and print 'EVEN' if the

Write a Python program that seeks a number from the user by

 

Write a Python program that seeks a number from the user by printing the message 'Please enter an integer:' and print 'EVEN' if the entered number is even and print 'ODD' otherwise. Hint: use the flowchart that you have developed in the activity of Module 1 to plan your program; you may find the input function useful to get user input; please note that the value entered by the user is a string, you may need to use int to convert to an integer.

Step by Step Solution

3.45 Rating (168 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

numb intinputEnter ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!