A lottery is a competition based on chance, in which numbered tickets are sold and prizes are awarded to the holders of numbers that match those chosen at random. Lotteries are used to raise money for a variety of purposes, including public works, charity, and sports events. They have also been criticized as addictive forms…