function sum2(num) { let sum ; let str = String(num) for(let i = 0 ; i < str.length; i++){ if(i === 0) { sum =