Question: Write a Python program that analyzes a sequence of numbers entered by the user. The program should continue to prompt the user for numbers until
Write a Python program that analyzes a sequence of numbers entered by the user. The\ program should continue to prompt the user for numbers until they enter the word\ DONE, signaling the end of the input.\ For each entered number, classify and print the following information:\ Odd or Even: Determine if the number is odd or even.\ Positive or Negative: Determine if the number is positive or negative.\ Magnitude Classification:\ Single Digit: If the absolute value of the number is a single-digit number.\ Two Digits: If the absolute value is a two-digit number.\ Three or More Digits: If the absolute value is a 3+ digit number.\ The program should display the results for each entered number AND provide a\ summary at the end showing the count of odd and even numbers, positive and negative\ numbers, and the number of values in each magnitude classification.\ Ensure the program utilizes a while loop to continuously accept user input until\ DONE is entered. Use if conditions, to classify each number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
