I am have some issues with something I thought it should be pretty straightforward in python. So I have this code:
import numpy as np
a = ["n","alpha"]
a = np.array(a)
print(a[0])
print(a[1])
a[0] = a[0]+"+"+a[1]
print(a[0])
The output of this is:
'n'
'alpha'
'n+alp'
Why is that last output like that instead of 'n+alpha'
and how can I make it the way I want? Thank you!