Module: Bit Operations (Python)


Problem

7/13

Calculating the modulus of a number without using a conditional operator

Problem

Given a number x.
Calculate the absolute value of x without using a conditional operator.