## Question 5: round_list function (8 marks) Write a function called round_list that takes two arguments: a list of real
Posted: Tue May 24, 2022 8:39 am
## Question 5: round_list function (8 marks) Write a function
called round_list that takes two arguments: a list of real numbers
and an integer. The function should create a new list containing
the same number of real numbers as the original list, but rounded
off to the number of decimals indicated by the second argument. For
example, round_list( [12.34529, 10.6758, 11.6111, 56.89], 2) should
return the list [12.35, 10.68, 11.61, 56.89].
Add code to test your function.
called round_list that takes two arguments: a list of real numbers
and an integer. The function should create a new list containing
the same number of real numbers as the original list, but rounded
off to the number of decimals indicated by the second argument. For
example, round_list( [12.34529, 10.6758, 11.6111, 56.89], 2) should
return the list [12.35, 10.68, 11.61, 56.89].
Add code to test your function.