<human>:  Can you show me a Python code to * left or right side.
<bot>: Here is a Python code to * left or right side

import math

def _LeftOrRight(value, op):
 """Helper that returns if parent/item is a directory."""
 if op == '<':
  return value < 0
 elif op == '>':
  return value > 0
 elif op == '<=':
  return value <= 0
 elif op == '>=':
  return value >= 0
 elif op == '==':
  return value == 0
 elif op == '!=':
  return value!= 0
 else:
  return False

# Enter the value
value = -1

# Enter the operator
op = '<'

# Calling the function
print((_LeftOrRight(value, op)))

#Example Output
# True

#Remember to inspect code for bugs.