Python Evaluation of Strings
nums = [1,2,3,4]
equation = '+'.join(nums)
# yields '1+2+3+4' with type(equation) string
How to evaluate this? A simple
int(equation) will not give you the answer of 10 that you want...
eval(equation) will give you the right answer.
Special newb Treatment:
# prints 10