I have tried to add two numbers in the list. The result, generated was integer. I could like to use append function for list to add this integer to existing list. However, I am getting error the operation is not executable.
Fibo is a defined list
Fibo_FV = Fibo[i] + Fibo[i+1]
print(Fibo_FV)
##result is sum of two numbers in the list
Fibo_final = Fibo.append(Fibo_FV)
print(Fibo_final)
##Answer is none
I am not sure why I am seeing none in when printed Fibo_final
. My expectation is it should be new list with Fibo and newly added value concatenated into it. Any ideas on this one?