I'm trying to define a variable as a variable (like in math). the goal of my code is to create Gaussian graphs of many points and create an overall density by adding all these Gaussian distributions. like so:

Note:
data1 is an array of values.

```
def pro1(ee):
    C = np.sqrt(alf)/(np.sqrt(np.pi))
    prof = C*np.exp(-alf*(x - ee)**2)
    prodat1.append(prof)
    return prodat1

for ll in data1:
    pro1(ll)

gauss1 = np.sum(prodat1)

```

My idea is to make prodat1 an array of functions and then have gauss1 be the addition of all these elements. 

However, this "x" is undefined and I have no idea how to define it so that x remains an unchanged variable allowing me to take gauss1 as a function and just plot it vs x.

If possible, can anyone tell me how can I use python for symbolic manipulation?