Skip to content

Instantly share code, notes, and snippets.

@modos
Created July 16, 2022 01:38
Show Gist options
  • Save modos/0f82abfbc9ffb9c9a89235e2bbf6520a to your computer and use it in GitHub Desktop.
Save modos/0f82abfbc9ffb9c9a89235e2bbf6520a to your computer and use it in GitHub Desktop.
صدگان خسته
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