Functions ProgramYou will be developing a Python program to process a set of integers, using functions, including a main function. The main function will be set up to take care of the following bulleted items inside a loop:
NOTE 1: Determining whether the number is positive or negative will be done within a function; and then a call to that function will be made from within the main function.The following is what you are to do within that function:
NOTE 2: Determining whether the number is divisible by 2 or not will be done within a second function; and then a call to that function will be made from within the main function.The following is what you are to do within that function:
——————————————————————————————————————————————————-NOTE 3:It’s your responsibility to decide how to set up the bold-faced items under NOTE 1 and NOTE 2. That is, you will decide to set them up as function arguments, or as global variables, etc.A sample program run is attached below. It illustrates user’s interactions with the program, as the program is run, data is entered one at a time, until a sentinel value is entered. At that time then, contents of the output variables are displayed: Lab 4 – Sample Program Run.pdf Lab 4 – Sample Program Run.pdf – Alternative Formats =======================================================================You need to set up a Python solution that is complete and workable.
For your solution to be complete, you must
For your solution to be workable,
Find attach a sample
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more