Python Arithmetic Operators Hackerrank Solution For List