I have this code:
import numpy as np
x= list(np.arange(1,9,0.5))
d = x + 2
print(d)
However the output gave this kind of error:
can only concatenate list not "int" to list
I'm trying to convert list to int using this code:
int(list(x))
But it gave another error. Can you please help me solving this. Thank you!