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