Sort by

recency

|

69 Discussions

|

  • + 0 comments

    total pairs are 36

    only 4 pairs, (1,5),(5,1),(2,4),(4,2) satisfy two being not same and total is 6

    so,4/36

    prob=1/9

  • + 0 comments

    Great Question

  • + 0 comments

    can anyone tell me where we need to write the code i am only getting an option to tick the correct answer from MCQ.

  • + 0 comments

    There are 6 possibilities on each die. On 2 dice, there are 6 * 6 = 36 possibilities

    There are 4 cases that match the desired criteria: (1,5) (5,1) (2,4) (4,2)

    This gives us a probability of 4/36 = 1/9

  • + 0 comments

    a = [{a, b} for a in range(1, 7) for b in range(1, 7) if sum({a, b}) == 6] b = [{a, b} for a in range(1, 7) for b in range(1, 7)] print(len(a)/len(b) * 30/36)

    lol