Question: can someone format this for python idle ? please Part 1 Add the code to perform the following tasks: write a count-controlled loop (you must

can someone format this for python idle ? please
can someone format this for python idle ? please Part 1 Add
the code to perform the following tasks: write a count-controlled loop (you
must use a while loop) the loop must repeat 6 times loop
body must ask the user for an integer and count positive numbers,

Part 1 Add the code to perform the following tasks: write a count-controlled loop (you must use a while loop) the loop must repeat 6 times loop body must ask the user for an integer and count positive numbers, cerces and negative numbers when loop is done, print statistics Part II Add the code to perform the following tasks: write a count-controlled loop (you must use a for loop) the loop must repeat 6 times loop body must ask the user for an integer and count positive numbers, zeroes and negative numbers when loop is done, print statistics Part III add the code to peform the following tasks write a sentinel-controlled loop (you have NO choice but to use a while loop) NOTE: set up the loop properly (read BEFORE loop begins and at the END of the loop) the while loop must repeat as long as the user does NOT enter the value -99 count positive numbers, zeroes and negative numbers Part III Add the code to perform the following tasks: write a sentinel-controlled loop (you have NO choice but to use a while loop) NOTE: set up the loop properly (read BEFORE loop begins and at the END of the loop) the while loop must repeat as long as the user does NOT enter the value -99 count positive numbers, zeroes and negative numbers when loop is done, print statistics 6. Save your changes and run your cole you can also simply press F5) 7. Dehus sour code(crhaps you can skip this stor If you have any errors in your code, the interpreter will produce an error, with a line number, where it detects there is a problem with your code. Retum to the editor and correct the error. Run it through the interpreter again (step 6) until it runs with no errors. 8. Sample Run Enter a value: 5 Enter a value: 8 Enter a value: 0 Enter a value: -3 Enter a value: 13 Enter a value: -2 Count of Zeroes: 1 Count of Positives: 3 Count of Negatives: 2 Enter a value: 5 Enter a value: -8 Enter a value: - Enter a value: 13 Enter a value: 0 Enter a value: 0 Count of Zeroes: 2 Count of Positives: 2 Count of Negatives: 2 Enter a value (-99 to exit) : 4 Enter a value (-99 to exit): Enter a value: 13 Enter a value: 0 Enter a value: 0 Count of Zeroes: 2 Count of Positives: 2 Count of Negatives: 2 Enter a value (-99 to exit) : 4 Enter a value (-99 to exit): -9 Enter a value (-99 to exit): 0 Enter a value (-99 to exit): -1 Enter a value (-99 to exit): 0 Enter a value (-99 to exit): -2 Enter a value (-99 to exit): 0 Enter a value (-99 to exit): 22 Enter a value (-99 to exit): 13 Enter a value (-99 to exit): -99 Count of Zeroes: 3 Count of Positives: 3 Count of Negatives: 3 9. Exir IDLE/Python

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!