This is a Strange Task and Code. : (Probably It Can Be Solved Differently :)
string = input() count = 0 for i in string: if i == "0": count += 1 else: break print(count)
43