This Python script calculates the probability of winning a lottery, taking into account the total number of tickets, the number of winning tickets, and the number of tickets sold.