Login and get codingIt's time to get

mathematical! In this Bite we ask that you complete the`round_up_or_down`

function that receives atransactionslist of`float`

s and an optional`up`

argument.If

`up`

is`True`

(default) you round themupto the nearest full integer, if it is`False`

, you rounddownto the nearest full integer. Return a new list with the rounded`int`

values.Use whatever method you see fit, good luck!

Metrics »

Will you be Pythonista #313 to crack this Bite?

Resolution time: ~20 min. (avg. submissions of 5-240 min.)

Pythonistas rate this Bite 1.43 on a 1-10 difficulty scale.

» You can do it! 😌