Lotteries are forms of gambling in which numbers are drawn randomly for prizes. While some governments outlaw lotteries, others sanction…