def eval_levicivita(*args):
 from sympy import factorial
 n = len(args)
 return prod(((prod(((args[j] - args[i]) for j in range((i + 1), n))) / factorial(i)) for i in range(n)))

def eval_levicivita ( * args ) : from sympy import factorial n = len ( args ) return prod ( ( ( prod ( ( ( args [ j ] - args [ i ] ) for j in range ( ( i + 1 ) , n ) ) ) / factorial ( i ) ) for i in range ( n ) ) )
evaluate levi-civita symbol .