Загрузить файлы в «/»
This commit is contained in:
commit
564e72c0f0
7
comparison.py
Normal file
7
comparison.py
Normal file
@ -0,0 +1,7 @@
|
||||
def compare(a: str) -> bool:
|
||||
if ">" in a:
|
||||
left, right = a.split(">", 1)
|
||||
return int(left) > int(right)
|
||||
elif "<" in a:
|
||||
left, right = a.split("<", 1)
|
||||
return int(left) < int(right)
|
||||
Loading…
Reference in New Issue
Block a user