A lottery is a form of gambling, where the player invests small amount of money in the hope of winning a prize. This could be a cash prize or a prize for a specific public good. Typically, a lottery is run by the state or city government. However, some governments allow private lotteries to be…