N Equivalent In Python With Example