# Softmax_Fucntion Quiz
# This Script does not Work
# Default format created by Udacity

import numpy as np

# Quiz : Write a function that takes as input a list of numbers, and returns the list of values given by the softmax function.

# ==Answer==
def softmax(L):
    expL = np.exp(L)
    sum_expL = sum(expL)
    result_list = []
    for i in expL:
        result_list.append(i / sum_expL)

    return result_list
# ==Answer==
59dc5d051ff3c37706a3ed3a1e14f1c9e9e11963
<mask token>

<mask token>


def softmax(L):
    expL = np.exp(L)
    sum_expL = sum(expL)
    result_list = []
    for i in expL:
        result_list.append(i / sum_expL)
    return result_list

import numpy as np


def softmax(L):
    expL = np.exp(L)
    sum_expL = sum(expL)
    result_list = []
    for i in expL:
        result_list.append(i / sum_expL)
    return result_list

# Softmax_Fucntion Quiz
# This Script does not Work
# Default format created by Udacity

import numpy as np

# Quiz : Write a function that takes as input a list of numbers, and returns the list of values given by the softmax function.

# ==Answer==
def softmax(L):
    expL = np.exp(L)
    sum_expL = sum(expL)
    result_list = []
    for i in expL:
        result_list.append(i / sum_expL)

    return result_list
# ==Answer==