Question: Write a Python program that prompts the user to enter a number, checks whether the number is positive, negative, or zero, and prints a
Write a Python program that prompts the user to enter a number, checks whether the number is positive, negative, or zero, and prints a message accordingly. You must use if / elif / else. Here is a sample run: Enter a number: 4 4 is positive.
Step by Step Solution
3.42 Rating (152 Votes )
There are 3 Steps involved in it
Python Program Prompt the user to enter a number number intinp... View full answer
Get step-by-step solutions from verified subject matter experts
