<prompt> Andika kazi ambayo itakuwa reverse bits ya 32 bits kutolewa integer.  <response>: Heres a sample Python code to reverse the bits of a 32-bit unsigned integer:def reverseBitsn: int - int: res 0 for i in range32: res res 1 n 1 n 1 return resThis code extracts each bit of the input integer n starting from the least significant bit by performing a bitwise AND operation with 1, and then adds the extracted bit to the resulting integer res by performing a bitwise OR operation between res and the extracted bit. Finally, the code shifts the bits of n to the right by 1 position to extract the next bit. The process is repeated 32 times until all bits of n have been processed and reversed. 