A lottery is a form of gambling in which people purchase tickets with a set of numbers, and then the state or city government randomly picks a winner. Lotteries have been used for centuries to fund a variety of public works projects, from the construction of roads and bridges in the United States to the …