> masteringswe_
codingpython

Bit set - turn bit i on

Get binary number, res, which is binary number, mask, with the bit at index i turned on.