input
stringlengths 943
1.01k
| output
sequencelengths 1
1
| id
stringlengths 40
40
|
---|---|---|
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ -5.241 -20.263 -35.056 42.909]
Output:
| [
"42.909"
] | task095-de690ca627d749a6886ed0ba1eda5604 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 93.309 15.01 -34.636 97.538 -86.544 83.735 23.455]
Output:
| [
"97.538"
] | task095-ecd9b1fa23c04b388e7a97a1413dde1f |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [13.716 41.954]
Output:
| [
"41.954"
] | task095-5e0ed871ee7848149f6f458ed93495f1 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 21.263 -46.415 -93.656 17.837 90.197 -68.348 83.933 35.948 -96.535]
Output:
| [
"-96.535"
] | task095-d448034b7a464756a99fb43bf7975b01 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-96.459 -54.464 69.073 9.42 99.51 47.109 -15.861 -52.781 95.792
68.443]
Output:
| [
"99.51"
] | task095-075a05587d014691a5ceb2f6f8836c20 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 73.951 93.597 33.793 91.6 -43.68 83.86 -31.99 -25.519 -96.884
11.618]
Output:
| [
"-96.884"
] | task095-e5ecfa7cf4de4b32a90be64dc3d1fe61 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 23.59 58.568 -95.154]
Output:
| [
"-95.154"
] | task095-bd004f361e7f431dabd1cf98b3b1a23f |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [87.091 15.679 22.569 39.819]
Output:
| [
"87.091"
] | task095-a0fdaef7700b4b278f844d0aca0df545 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 76.106 79.908 -68.877 96.772 -74.179 11.433 23.318 -94.702 -92.995
-99.353]
Output:
| [
"-99.353"
] | task095-d1c0fd85f82b4e84b4c7e1381f48cce7 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-45.5 -56.241 -73.937 32.134]
Output:
| [
"-73.937"
] | task095-7925f685431946758aac1f608fda8d3d |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-60.359 58.772 66.078 -49.714 25.476 -3.234 -76.08 85.515 81.899
74.655]
Output:
| [
"85.515"
] | task095-0644ff34694c44e9b760b4bfb7ffbd4a |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-40.585 -87.211 -21.467]
Output:
| [
"-87.211"
] | task095-2d6935d2dfce4a43a2edea1a2e365c8f |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-99.024 79.806 2.4 1.873 68.276 18.122]
Output:
| [
"-99.024"
] | task095-d4e12fb3a1d4459f926b48c1da8ee841 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-4.837 28.996]
Output:
| [
"28.996"
] | task095-7214bf157970406d89c5f48c8df671a6 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-92.215 61.631 -14.824 -2.42 -12.801 -82.35 84.64 -9.848 37.675]
Output:
| [
"-92.215"
] | task095-680271261df84ce490d443d527264552 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-11.418 -68.96 -16.594 -14.153 4.674 -96.993 -53.988 35.634]
Output:
| [
"-96.993"
] | task095-c78d4422436d495fb972117e76ba37ee |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ -8.203 0.202 -53.494 -11.273 -86.055 6.19 ]
Output:
| [
"-86.055"
] | task095-43935ecfc6ce4e2c8d347f7fb94a0f97 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-12.427 -82.426]
Output:
| [
"-82.426"
] | task095-98326a3ae65c4d8b816a8c28a33858a9 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-76.443 10.694 99.323]
Output:
| [
"99.323"
] | task095-71ea536f590444bbacfb8a549abf372b |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 46.001 -6.577 -21.065 72.708 -21.89 ]
Output:
| [
"72.708"
] | task095-a5a360993e0d4031966a8e6a5b541af1 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-49.718 39.655 72.569 -74.324 9.503 -20.089 85.083]
Output:
| [
"85.083"
] | task095-4239185732c6461ba30419a746dfb74c |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-43.642 -6.116 70.32 ]
Output:
| [
"70.32"
] | task095-8600f64b57964307a98ae9d109fc1ef1 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 12.054 -58.604 -87.435 44.213 43.123 94.514 -93.74 -46.612]
Output:
| [
"94.514"
] | task095-bd30f3188eb34e9e8ebdf6d104382f18 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-57.893 91.138 -18.272 18.707 26.489 -18.684 41.937]
Output:
| [
"91.138"
] | task095-4524a0d308cd4310a56cccd940763702 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-60.578 -77.32 89.428 -98.285 29.026 -11.07 ]
Output:
| [
"-98.285"
] | task095-ec2d6fccc2814eb0a4242d9be1bde2e6 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-21.638 69.565]
Output:
| [
"69.565"
] | task095-204cfc45da7b42d79f9664acfcaa555b |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-2.401 75.013]
Output:
| [
"75.013"
] | task095-aa36da5050e94cb984d3e16ba127ede8 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 0.408 -88.006 -38.955 57.305 66.685 -86.884]
Output:
| [
"-88.006"
] | task095-e06e8c2f7dcc43389d9c2379c60ced88 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-44.86 -60.163 91.424 68.75 ]
Output:
| [
"91.424"
] | task095-ededf79cbe884c13b535fe73362ef870 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-63.029 52.089 76.91 86.952 -59.277 73.461 58.439]
Output:
| [
"86.952"
] | task095-afb70977bb814e83b37e6ca54e592cf8 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-43.506 24.273 -47.75 -41.45 29.702]
Output:
| [
"-47.75"
] | task095-aff6adceb2a141a9b973a98409b6f55f |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 9.617 -26.195 77.288 -89.536 -46.066 -81.712 70.39 ]
Output:
| [
"-89.536"
] | task095-7e74baaa322e4590b2cbaeb1e559794f |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-10.147 0.206 -15.882 15.367 27.677 53.821 76.286]
Output:
| [
"76.286"
] | task095-70b9edb7c45e42048e380ebc885f61b2 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-71.272 -4.485 53.242 18.502 43.805 36.603 -7.35 46.418 70.966]
Output:
| [
"-71.272"
] | task095-42356e2cd99d4fb6b37e624b91abcd7a |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 48.855 -13.817 -44.562 28.199 14.09 38.32 -65.291]
Output:
| [
"-65.291"
] | task095-e190e5ae8a79446fa11e719136c09c2a |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 57.591 42.61 -8.199 -18.1 -35.15 -98.762 -29.594 8.787 40.282
67.844]
Output:
| [
"-98.762"
] | task095-9ca8f36763b34422902f5fe88184fe97 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-27.953 -95.525 4.161 -66.099]
Output:
| [
"-95.525"
] | task095-04a30b969ac4443eb3667b403fd7531b |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 86.016 -74.687 -3.893 98.163 52.861 40.55 -74.167]
Output:
| [
"98.163"
] | task095-f795ab7f193e454bbe682c9a5c1c4597 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 87.98 49.385 68.021 80.391 -25.553 81.805 -30.145]
Output:
| [
"87.98"
] | task095-e1f5f9cccd3a4e3eb0211d3a840fa49b |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-85.628 -38.097 -27.908 17.084 5.507 -91.082 61.233 80.455]
Output:
| [
"-91.082"
] | task095-2645ff7923be4ed8bf48563e723daff1 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 51.901 35.37 -68.118 32.374]
Output:
| [
"-68.118"
] | task095-860d91fe8e40415daed078f3ac38040f |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-95.578 7.773 -84.753 -45.165 19.393]
Output:
| [
"-95.578"
] | task095-97eb6453cba24aeba8f3475c6cc5d440 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ -3.094 -47.014 21.251 76.04 14.865 -97.702]
Output:
| [
"-97.702"
] | task095-07b8ed4be7424e6b9d0845e0f3bc74f1 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 46.231 68.86 -91.728 -90.747 63.254 27.553 -61.849 -46.377 51.531]
Output:
| [
"-91.728"
] | task095-f2765848bd3041ddb6c017890e49ebac |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-38.322 49.785 -88.565]
Output:
| [
"-88.565"
] | task095-88eaca328f564c4a879007c21a5906fd |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-72.414 -90.626 94.77 -28.148 -3.671 -10.93 78.21 -95.85 96.693]
Output:
| [
"96.693"
] | task095-3f9559f45a9b4baa9e393a0d7f9e38b3 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 44.133 86.343 -49.701]
Output:
| [
"86.343"
] | task095-8fdbc35fd2064f2dbd0bb19e7947ee35 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-11.945 95.167 53.414 55.119 -2.612 -41.769 64.868 -42.474 -37.373]
Output:
| [
"95.167"
] | task095-0278acedb90345538d8a1eb766208189 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [99.099 23.47 3.204 59.015]
Output:
| [
"99.099"
] | task095-f30b36975c8244cd890509c56f83afaf |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 55.519 -98.348]
Output:
| [
"-98.348"
] | task095-98ec483bc1a84615a8657a64ae567cc3 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 29.468 -59.02 60.182]
Output:
| [
"60.182"
] | task095-8abe464d2d344a719a490e337ed8ef9a |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 90.503 11.909 67.339 -55.945 38.125]
Output:
| [
"90.503"
] | task095-a5b6e81e1b0346c98b23acd1d975b240 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 74.535 80.692 51.025 -84.157 -65.465]
Output:
| [
"-84.157"
] | task095-db6b38b7ec404c19b904975fdf1040b8 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 69.612 -33.711 -64.73 -7.972 -63.254 18.559 22.983 29.66 ]
Output:
| [
"69.612"
] | task095-6ecd2eea41434d5687158e2ceb1dfea0 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-18.003 -53.311]
Output:
| [
"-53.311"
] | task095-46c4d29d1a984515aecbf667150ade26 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-15.904 21.385 74.355 81.194 69.769 -26.115]
Output:
| [
"81.194"
] | task095-958fe1fa8d36452d881d65745c8f1e15 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 76.775 61.313 57.129 -73.246 -40.487 77.297 41.268 77.955 -79.598]
Output:
| [
"-79.598"
] | task095-acd96808949c49b5a8343254105e580d |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-92.031 -49.679 -50.709]
Output:
| [
"-92.031"
] | task095-2572768bcc4340b5b2383b907ca668a0 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 18.002 95.523 -25.751 -88.209 51.888 -64.953 47.267 -70.394 -32.615]
Output:
| [
"95.523"
] | task095-16afabd6d5ee404ba8818d4b771e785a |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-41.515 -22.687 -89.472 31.667 17.812 29.383 -33.495]
Output:
| [
"-89.472"
] | task095-fb7a73ff57fc430db91249e512220bbf |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-47.562 21.872 -34.47 -48.07 -49.56 ]
Output:
| [
"-49.56"
] | task095-b732eba1073d40c6a30094c993a38851 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 7.862 25.237]
Output:
| [
"25.237"
] | task095-c30f658666184e5f9adf0999b4d6be4c |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-42.383 -45.345 54.872 93.56 52.016]
Output:
| [
"93.56"
] | task095-48b1b07c727b4966b82ab12f4f850582 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-27.2 -63.482 0.975 17.493]
Output:
| [
"-63.482"
] | task095-c2514594b4774987a75a9953515d4ef9 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 93.278 -18.662 25.169 -8.833 72.381 -87.152]
Output:
| [
"93.278"
] | task095-6fcc0290286b40dc940de912f1e5ec3a |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 32.323 50.948 -31.289]
Output:
| [
"50.948"
] | task095-32204940cd03411081f71231133c7c5f |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 98.896 15.747 -58.149]
Output:
| [
"98.896"
] | task095-3216ca1c4f9c4123959b19f349ea2d92 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 52.959 -55.603 54.056 44.325]
Output:
| [
"-55.603"
] | task095-e82517c4ba3f4521a3fb0ae7a6cd0e5c |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 19.618 -28.584 75.485 66.554 63.394 -24.125 -47.243 91.662 6.016
-54.512]
Output:
| [
"91.662"
] | task095-a4f1e6bed324425f8f531d365b972e44 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-24.822 99.041 -79.343 45.311 -30.432 9.211 19.066 98.723]
Output:
| [
"99.041"
] | task095-3b420150b42e4ed9af043f99f5f749dd |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 24.453 -75.468 -12.011 74.892]
Output:
| [
"-75.468"
] | task095-87572f6fcd064cda89953d980b4088e3 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 59.238 68.023 45.589 -88.846 54.546 81.934 -98.611]
Output:
| [
"-98.611"
] | task095-ca0c8b1daa284b9899596c6d8a248f15 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [27.912 0.388 23.975]
Output:
| [
"27.912"
] | task095-bb178830d69d42ed89863f0447112e89 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 18.549 -35.858 5.614 -11.597 75.271 -48.043 -16.33 61.9 -1.244
-48.366]
Output:
| [
"75.271"
] | task095-cea5e339279e4a208fe1c72e2a60024b |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-63.564 -25.888 96.507 -75.808 70.643 -59.222 92.224 10.956]
Output:
| [
"96.507"
] | task095-f4e89b9b97044c778e6cb959fd0171ca |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 66.608 -28.985 -68.296 30.873 48.108 -41.787 -58.006 -99.391 -30.011
39.127]
Output:
| [
"-99.391"
] | task095-3a060aa3456f4627a20623e609c88af8 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ 70.573 -39.893 10.955 25.224 24.593 -23.098 24.101]
Output:
| [
"70.573"
] | task095-fd5ef3b352fb41d09db7c58d5c91867e |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [-82.736 -46.735 -75.806 -40.762 70.64 84.99 -85.311 -30.71 ]
Output:
| [
"-85.311"
] | task095-870c8865dada42b8806c6dc24aad1c45 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [11.552 78.954 -6.989 58.327 80.617]
Output:
| [
"80.617"
] | task095-76f1658bbcba4a719a5cc5537af6aa86 |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Positive Example 1 -
Input: [-11, 2, 3]
Output: -11
Positive Example 2 -
Input: [-4,-200,19,20,200]
Output: 200
Negative Example 1 -
Input: [10,-8,-9.9, 1]
Output: -9.9
Negative Example 2 -
Input: [-15,10,3,-7,-2]
Output: 15
Now complete the following example -
Input: [ -9.169 -26.331 -27.054 91.743 75.846]
Output:
| [
"91.743"
] | task095-b6d705b70448459fad3eb236f7f5b9ea |