LearnPy Hub
← Operators problems
Medium

Exactly One

Read two integers. Print True if exactly one of them is negative.

Input

Two integers.

Output

True or False.

Sample 1

Input
-1
5
Output
True

Sample 2

Input
-1
-5
Output
False
solution.py
Output appears here
Hints
Exactly One · Python practice problem · LearnPy Hub