Ad
  • Custom User Avatar

    You have function one_two. It returns {1, 2} randomly.

    P(1)=1/2
    P(2)=1/2
    

    Your goal is to create function that returns {1, 2, 3} randomly.

    P(1)=1/3
    P(2)=1/3
    P(3)=1/3