Mistři v programování na #hovnokod

Python #4664

def roll_dice():
    for i in range(1):
        if i == 6:
            print("6")
            return(random.randint(1,6))
        else:
            return(random.randint(1,6))
    print("166")
        
def analyse_rolls(count):
    total = 0
    sum_throws = 0
    while sum_throws < count:
        throw = random.randint(1,6)
        total +=1
    for i in range(len(count)):
        total += count[i]
    return (total /len(count)), (total)

Anonymous,