Most of my code works perfectly, the only one I cannot figure out is three of a kind. If three of the same number appears it adds together to get the score. Here is that section of code as I have it right now.
def threeOfOne(dicelst):
    total = 0
    for die in dicelst:
        if dicelst[0] == dicelst[1:3]:
            total += die
        elif dicelst[1] == dicelst[2:5]:
            total += die
        else:
            total = 0
        return total
I feel like I am missing something very simple but I can't get it to work it always shows zero.
 
    