I have two lists:
numbers =[2.4, 3.5, 0.5]
operations = ['+', '-']
Note that the values in operations will be changed so I cant just type:
solution = numbers[0] + numbers[1]
I need to insert the value of operations[0] between those numbers.
I've tried:
solution = numbers[0] + operations[0] + numbers[1]
But I can't merge floats and strings values.