﻿from random import randint
L=[1 if randint(1,6)==6 else 0 for k in range(1000)]
print(sum(L)/len(L))
