Oct-23-2022, 11:13 PM
Ah well, I was only thinking about the number I got, which only had 1 leading zero!
# 1 random binary number coming up! mylist = [str(random.randrange(0, 2)) for i in range(11)] while mylist[0] == '0': del mylist[0] rbs = ''.join(mylist)