← Back to List

27328번: 三方比較 (Three-Way Comparison) ↗

Solutions

Python 3
79 B | 79 chars
a = int(input())
b = int(input())

print(0 if a == b else (-1 if a < b else 1))