Exercise 6/14: Slide to the Left! Slide to the Right!


In this exercise the command “print bin(shift_right)” prints ‘0b11’ to the dashboard. Shouldnt it be 0b0011 instead.? If not kindly explain why.



Integers do not have leading zeros.


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