Flow controls: Conditions · 10 / 22 Exercise Easy

Positive and negative

Objective

Write a Python program that asks the user to enter a number (x). The program should determine whether this number is positive or negative and display the result.

Input
5
Output
Positive

Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.

Start exercise