Ad
  • Custom User Avatar

    Please do not copy tasks from other sites. You can recreate a similar task if it is generic enough, however this is almost identical, including an extremely similar description.

    Unpublishing Too slow, it was retired.

  • Custom User Avatar

    1 missed positional argument: car_price

  • Custom User 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

  • Custom User Avatar

    duplicate of the cycle kata we recently had

  • Default User Avatar