Definition: In this task you will be given a list of integers. You should round each integer to the nearest tens place. That means you should round the number to the nearest multiple of 10.
Input: [-145, 462, -376, 820, 166, 186, 262, -379, 905, -387, 800, 545]
Output:
[-140, 460, -380, 820, 170, 190, 260, -380, 900, -390, 800, 540]
Definition: In this task you will be given a list of integers. You should round each integer to the nearest tens place. That means you should round the number to the nearest multiple of 10.
Input: [-145, 462, -376, 820, 166, 186, 262, -379, 905, -387, 800, 545]
Output:
user
[-140, 460, -380, 820, 170, 190, 260, -380, 900, -390, 800, 540]
assistant
Definition: In this task you will be given a list of integers. You should round each integer to the nearest tens place. That means you should round the number to the nearest multiple of 10.
Input: [-145, 462, -376, 820, 166, 186, 262, -379, 905, -387, 800, 545]
Output:
[-140, 460, -380, 820, 170, 190, 260, -380, 900, -390, 800, 540]