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


#1

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

image


#2

Integers do not have leading zeros.


#3

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


#4