Slide to the Left! Slide to the Right!


please i need help on this exercise this is my code it keeps showing me this Oops, try again.
Did you set shift_right = shift_right >> 2 ?

0b1100 >> 2 == 0b11
0b1 << 2 == 0b100

Replace this line with your code.


What is the setup? Something like,

shift_right = 0b1100
shift_left = 0b100


By this stage in the track this should not be a problem given the starting code. The answer is in the error message.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.