A lottery is a type of gambling in which people pay for a ticket with numbers that are drawn at random. The numbers are either selected by individuals or assigned to machines, and the winners get a prize. Financial lotteries are often run by state governments, though they are also common in sports and other…