Objective
Write a function that mirrors all 8 bits of an unsigned byte and returns the result.
Steps
$ reverse_bits(2)
64
$ reverse_bits(170)
85
Expected files
Allowed functions
None. Write every helper yourself.

Objective
Write a function that mirrors all 8 bits of an unsigned byte and returns the result.
Steps
$ reverse_bits(2)
64
$ reverse_bits(170)
85
Expected files
Allowed functions
None. Write every helper yourself.

Tests
Run the tests to grade your code