• + 0 comments

    meanX = float(input()) value = int(input())

    p = ((meanX**value)math.e*(-meanX))/factorial(value)

    print("{:.3f}".format(p))