Answer:
Aee explaination
Step-by-step explanation:
#Implementation of shiftLeft method
#which shifts the bits in its input one
#place to tge left
def shiftLeft(bitstring):
bitstring = bitstring[1:]+bitstring[0]
#return as bit string format
return bitstring
#Get the input from user
bits = input("Enter a string of bits: ")
#call the shiftLeft method which returns the value
# that is stored in leftShift
leftShift = shiftLeft(bits)
#Display the output
print()
print(leftShift)
print()