Question: Code in Python format Assignment Part A Write individual while loops to meet the following criteria. Print text before each loop, such as Part 1
Code in Python format

Assignment Part A Write individual while loops to meet the following criteria. Print text before each loop, such as "Part 1" or "Part 2", which a little whitespace between each part to break up the output. 1) Count from 10 to 50 (inclusive) by 1 - output one value per line 2) Count from 20 to 0 (inclusive, counting down) - all output must be on a single line 3 Count by from 0 to 10 (inclusive)- output one value per line Part B Write a program that asks for integer values until the user enters 0. Once the user has finished entering values, display the average of the positive values that were entered and the average of the negative values that were entered. DO NOT make any assumptions regarding the data that will be entered. If you are not able to calculate an average, state that no values of that type were entered. Print out the average with 2 places after the decimal point. For example: Enter a value: 20 Enter a value: -20 Enter a value: 30 Enter a value: 0 Average of positive values: Average of negative values: -20.00 Part C Write a program that asks for the length of a line. The line will be draw with specified number of symbols in a horizontal line. If the length is set to 5, the output would be
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
