Lottery is a form of gambling that involves drawing numbers at random. While some governments outlaw…