# -*- coding: utf-8 -*-
"""
Created on Fri Oct 27 19:47:55 2017

@author: pia-hp
"""
def TwoFairDiceRoll():
    pmf={}
    for x in range(1,7):
        for y in range(1,7):
            if x+y in pmf:
                pmf[x+y] += 1/36
            else:
                pmf[x+y] = 1/36
            print(pmf[x+y])
    
TwoFairDiceRoll()
2c9d739b46c2c1f2b9b200ba49b9cd7ce57054c3
<mask token>

<mask token>


def TwoFairDiceRoll():
    pmf = {}
    for x in range(1, 7):
        for y in range(1, 7):
            if x + y in pmf:
                pmf[x + y] += 1 / 36
            else:
                pmf[x + y] = 1 / 36
            print(pmf[x + y])


<mask token>

<mask token>


def TwoFairDiceRoll():
    pmf = {}
    for x in range(1, 7):
        for y in range(1, 7):
            if x + y in pmf:
                pmf[x + y] += 1 / 36
            else:
                pmf[x + y] = 1 / 36
            print(pmf[x + y])


TwoFairDiceRoll()

# -*- coding: utf-8 -*-
"""
Created on Fri Oct 27 19:47:55 2017

@author: pia-hp
"""
def TwoFairDiceRoll():
    pmf={}
    for x in range(1,7):
        for y in range(1,7):
            if x+y in pmf:
                pmf[x+y] += 1/36
            else:
                pmf[x+y] = 1/36
            print(pmf[x+y])
    
TwoFairDiceRoll()