trying to solve this but cannot understand whats happening.
Dude this is the easiest one! make sure you’re not just coming on here to find the answers or you’re not going to learn anything.
a = 0b10111011
mask = 0b100
mask to change the 3rd bit to a 1
des = a | mask
new Var to store the new value with the equation to change the bit
print bin(des)
print the new Var!