Ad
Code
Diff
  • def verify_sum(a, b)
      return a.to_s.sum == b.to_s.sum
    end
    
    • def verify_sum(a, b)
    • return a.sum == b.sum unless a.nil? || b.nil?
    • 'a' == 'b'
    • return a.to_s.sum == b.to_s.sum
    • end