def grandeurB(L): m=1 while m>=L: .................... return(m,m*10)