filmov
tv
Upgrad Python Lab - Assignment Submission (Find two elements whose sum is closest to zero.)

Показать описание
You are given a list that can contain positive and negative integers. You need to find two elements such that their sum is closest to zero.
For example, you are given a list [-4, 7, 6, 2, -5]. The two elements with the sum closest to zero will be -5 and 6.
Submitted By:- Upgrad Python Assignment
Prashant Singh
Piyush Prince
Puneeth N
For example, you are given a list [-4, 7, 6, 2, -5]. The two elements with the sum closest to zero will be -5 and 6.
Submitted By:- Upgrad Python Assignment
Prashant Singh
Piyush Prince
Puneeth N