Draft

Oranges

Description
Loading description...
  • Please sign in or sign up to leave a comment.
  • Blind4Basics Avatar

    Hi,

    The description makes almost no sense, sorry. It's mostly a language barrier thing, tho, I believe.

    • Steve isn't a female firstname, afaik

    • I think things might be a bit better if:

      She wants to cut each orange into an equal number of equal slices so that they can be distributed among the guests (Steve himself will not eat the oranges), and all the guests will get equal slices.

      becomes:

      She wants to cut each orange into an equal number of identical slices so that they can be distributed evenly among the guests (Steve himself will not eat the oranges)

    Aside of that:

    • the description should warn about the inputs going up to 10**9
    • why only one input can go that high??
    • missing fixed tests with 1 friend and 1 orange only
    • wut!?? 8o
      try:
          from solution import oranges
      except ImportError:
          from solution import oranges
      
      but WHY!?
    • it's generally considered better practices to declare the logistic needed for the random tests inside the describe block, instead of doing it at module level.

    Cheers

  • dfhwze Avatar

    duplicate of the cycle kata we recently had