import math as m
import scipy.optimize as sc

def f(x):
    return(m.exp(-x)+x/5-1)

sol=sc.bisect(f,0.01,10)
print(sol)