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