Created by manuel-2de-indice2019
Created on October 14, 2019
102 Bytes
def avant_puis2(N): k = 0 while 2**k < N: k = k+1 return k-1