LearnPy Hub
← Arena
EasyRating 800

Compare Ignoring Case

Compare two strings of equal length ignoring case. Print -1 if the first is smaller, 1 if larger, 0 if equal.

Input

Two lines.

Output

-1, 0 or 1.

Sample 1

Input
aaaa
aaaA
Output
0

Sample 2

Input
abs
Abz
Output
-1
solution.py
Output appears here
Compare Ignoring Case · Python Arena problem · LearnPy Hub