Created by polettielio
Created on November 13, 2021
144 Bytes
For given (A, B) returns the B exposent root of A as a float. (note: B is optionnal, it defaults to 2)
def root(nb, exp=2): # nb: number under the root # exp: (optionnal) exposent of the root awn = float(nb**(1/exp)) return awn