import random x=0 while x !=2: c=random.randint(1,10) print(x,end="")