Addition In Javascript With User Input In Python For List