Created
July 16, 2022 01:38
-
-
Save modos/0f82abfbc9ffb9c9a89235e2bbf6520a to your computer and use it in GitHub Desktop.
صدگان خسته
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = input() | |
b = input() | |
target_1 = list(a) | |
target_1.reverse() | |
target_1 = int("".join(target_1)) | |
target_2 = list(b) | |
target_2.reverse() | |
target_2 = int("".join(target_2)) | |
if target_1 < target_2: | |
print(a, "<", b) | |
elif target_2 < target_1: | |
print(b, "<", a) | |
else: | |
print(a, "=", b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment