I have code below. I want to compare the sum value with 1 but it doesn\'t work. Please help me to fix it. Thanks.
sum
1