# -*- coding: utf-8 -*-
"""
Created on Tue Sep  5 01:08:40 2017

@author: lenovo
"""



from random import randrange

def rolling():
    dice1 = randrange(1,7)
    dice2 = randrange(1,7)
    dice = dice1 + dice2
    return dice

def craps():
    diceNum = rolling()
    if diceNum == 7 or diceNum == 11:
        return print('You win')
    
    if diceNum == 2 or diceNum == 3 or diceNum == 12:
        return print('You lose')
    
    while diceNum == 4 or diceNum == 5 or diceNum == 6 or diceNum == 8 or diceNum == 9 or diceNum == 10:
        diceNum2 = rolling()
        if diceNum2 == diceNum:
            return print('You win')
        if diceNum2 == 7:
            return print('You lose')
        
craps()
    

dadf24685c37bbc0003714ef66696ab1fc9e1855
<mask token>


def craps():
    diceNum = rolling()
    if diceNum == 7 or diceNum == 11:
        return print('You win')
    if diceNum == 2 or diceNum == 3 or diceNum == 12:
        return print('You lose')
    while (diceNum == 4 or diceNum == 5 or diceNum == 6 or diceNum == 8 or 
        diceNum == 9 or diceNum == 10):
        diceNum2 = rolling()
        if diceNum2 == diceNum:
            return print('You win')
        if diceNum2 == 7:
            return print('You lose')


<mask token>

<mask token>


def rolling():
    dice1 = randrange(1, 7)
    dice2 = randrange(1, 7)
    dice = dice1 + dice2
    return dice


def craps():
    diceNum = rolling()
    if diceNum == 7 or diceNum == 11:
        return print('You win')
    if diceNum == 2 or diceNum == 3 or diceNum == 12:
        return print('You lose')
    while (diceNum == 4 or diceNum == 5 or diceNum == 6 or diceNum == 8 or 
        diceNum == 9 or diceNum == 10):
        diceNum2 = rolling()
        if diceNum2 == diceNum:
            return print('You win')
        if diceNum2 == 7:
            return print('You lose')


<mask token>

<mask token>


def rolling():
    dice1 = randrange(1, 7)
    dice2 = randrange(1, 7)
    dice = dice1 + dice2
    return dice


def craps():
    diceNum = rolling()
    if diceNum == 7 or diceNum == 11:
        return print('You win')
    if diceNum == 2 or diceNum == 3 or diceNum == 12:
        return print('You lose')
    while (diceNum == 4 or diceNum == 5 or diceNum == 6 or diceNum == 8 or 
        diceNum == 9 or diceNum == 10):
        diceNum2 = rolling()
        if diceNum2 == diceNum:
            return print('You win')
        if diceNum2 == 7:
            return print('You lose')


craps()

<mask token>
from random import randrange


def rolling():
    dice1 = randrange(1, 7)
    dice2 = randrange(1, 7)
    dice = dice1 + dice2
    return dice


def craps():
    diceNum = rolling()
    if diceNum == 7 or diceNum == 11:
        return print('You win')
    if diceNum == 2 or diceNum == 3 or diceNum == 12:
        return print('You lose')
    while (diceNum == 4 or diceNum == 5 or diceNum == 6 or diceNum == 8 or 
        diceNum == 9 or diceNum == 10):
        diceNum2 = rolling()
        if diceNum2 == diceNum:
            return print('You win')
        if diceNum2 == 7:
            return print('You lose')


craps()

# -*- coding: utf-8 -*-
"""
Created on Tue Sep  5 01:08:40 2017

@author: lenovo
"""



from random import randrange

def rolling():
    dice1 = randrange(1,7)
    dice2 = randrange(1,7)
    dice = dice1 + dice2
    return dice

def craps():
    diceNum = rolling()
    if diceNum == 7 or diceNum == 11:
        return print('You win')
    
    if diceNum == 2 or diceNum == 3 or diceNum == 12:
        return print('You lose')
    
    while diceNum == 4 or diceNum == 5 or diceNum == 6 or diceNum == 8 or diceNum == 9 or diceNum == 10:
        diceNum2 = rolling()
        if diceNum2 == diceNum:
            return print('You win')
        if diceNum2 == 7:
            return print('You lose')
        
craps()
    
