Question: PYTHON 3.6 Question 13 Part A. (1e point:s) Write a function named getInt). The function getInt) takes two parameters: i an int, minInt ii an

PYTHON 3.6

PYTHON 3.6 Question 13 Part A. (1e point:s) Write a function named

Question 13 Part A. (1e point:s) Write a function named getInt). The function getInt) takes two parameters: i an int, minInt ii an int, maxInt The function getInt) should prompt the user for an integer that is no less than minInt and no greater than maxInt. You may assume that the user responds with an integer in this range. (Hint: user input is always a string.) getInt) should return the number provided by the user. For example, if getInt) is the called with parameters 5 and 7, the following would be correct input and output: >Please give me a number no less than -5 and no greater than 7 Question 13 Part B (10 points) Write code that calls getNumber(), using a negative value for minInt and a positive value for maxInt. Your code should than print out the returned integer and whether it is positive, negative or zero

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!