def prob():
	res = 0
	for i in range(1, 7):
		res += (i/2**i)
	return (1/6) * res

if __name__ == '__main__':
	print(prob())

0b9567717d431f2e4e0fa25612dd45c8ce05fe26
<mask token>

def prob():
    res = 0
    for i in range(1, 7):
        res += i / 2 ** i
    return 1 / 6 * res


<mask token>

def prob():
    res = 0
    for i in range(1, 7):
        res += i / 2 ** i
    return 1 / 6 * res


if __name__ == '__main__':
    print(prob())

def prob():
	res = 0
	for i in range(1, 7):
		res += (i/2**i)
	return (1/6) * res

if __name__ == '__main__':
	print(prob())
