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 a transactions list offloat
s and an optionalup
argument.If
up
isTrue
(default) you round them up to the nearest full integer, if it isFalse
, you round down to the nearest full integer. Return a new list with the roundedint
values.Use whatever method you see fit, good luck!
376 out of 376 users completed this Bite.
Will you be Pythonista #377 to crack this Bite?
Resolution time: ~19 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 1.38 on a 1-10 difficulty scale.
» You can do it! 😌