Created by niz-moussatat
Created on September 01, 2019
155 Bytes
programme retourne la plus petite puissance d’un nombre positif a qui est supérieure à N
N = 1025 a = 7 p = 1 i = 0 while p <= N : p = p * a i = i + 1 print(str(a)+"^"+str(i-1),"<=", N ,str(a)+"^"+str(i) )