Probability of winning a prize in a raffle
You'll be surprised. The correct probability of winning at least one ticket is around $0.2242$.
Assuming exactly one prize is given, your answer of $\frac{1}{160}$ is the probability of winning is correct. That is, you go home empty-handed with probability $\frac{159}{160}$. However, $40$ tickets are chosen for prizes, not just one. So even if you miss out on a prize the first time, you could still end up with the second winning ticket; or the third; or the $40^{th}$. What we need to calculate is the chance of winning at least one of those tickets.
For the moment, assume that the prizes are drawn with replacement. Then in order for you to not get a prize, you need to miss the first time, and the second time, and the third time, and so on, until the $40^{th}$ time. Under our assumption that these are drawn with replacement, all these $40$ events are independent. Therefore, the probability that you miss out on a prize is simply the probability that miss out in any given trial, raised to the power of $40$; i.e., $$ \left(\frac{159}{160} \right)^{40} \approx 0.7782. $$ Hence, the chance that you win a prize is $1 - 0.7782 \approx 0.2218$.
When the prizes are drawn without replacement. Now we are going to compute the exact answer without any assumptions. There are $1600$ tickets, out of which you bought the first ten (say). The judges pick $40$ winners out of the $1600$ tickets; this can be done in $\binom{1600}{40}$ ways. [See binomial coefficients in Wikipedia.] Of these, you will not win a prize if those $40$ tickets are drawn from the $1590$ tickets that you did not buy. That is, there are $\binom{1590}{40}$ possible outcomes in which you will go home empty-handed. That is, you go home empty-handed with probability $$ \frac{\binom{1590}{40}}{\binom{1600}{40}}. $$ Therefore, you will win a prize with the complementary probability $$ 1 - \frac{\binom{1590}{40}}{\binom{1600}{40}} = \frac{1420730930795547} {6335978517846620} \approx 0.2242. $$ As you can see, that the approximate answer is quite close to the exact one.
[I did these calculations in Wolfram Alpha.]
Imagine that the prize numbers are drawn and announced one at a time. If on any draw you do not win, you say "that's too bad," or something more pungent. We find the probability that you say "that's too bad" $40$ times in a row.
The probability that on the first draw, you do not win, is $\frac{1590}{1600}$. Suppose that you do not win on the first draw. Now there are only $1599$ tickets left, of which you hold $10$. So if you lost on the first draw, the probability that you lose on the second draw is $\frac{1589}{1599}$. Thus the probability that you lose on the first draw and on the second draw is $$\frac{1590}{1600}\cdot\frac{1589}{1599}.$$ Suppose that you have not won on the first two draws. Then there are $1598$ tickets left, of which you hold $10$. So if you lost on the first two draws (probability $\frac{1590}{1600}\cdot\frac{1589}{1599}$), the probability that you lose on the third draw is $\frac{1588}{1598}$. Thus the probability that you lose on the first $3$ draws is $$\frac{1590}{1600}\cdot\frac{1589}{1599}\cdot \frac{1588}{1598}.$$ Continue calculating in this way. Each time that you lose, your probability of winning the next time increases a tiny bit, though by a pathetically small amount. We find that the probability of losing $40$ times in a row is $$\frac{1590}{1600}\cdot\frac{1589}{1599}\cdot \frac{1588}{1598}\cdot \cdots \frac{1552}{1562}\cdot\frac{1551}{1561}.$$ We now have an expression for the probability that we lose $40$ times in a row.
Finally, we calculate, or have a piece of software calculate for us. The above product is approximately $0.775768$. Note that this is the probability we lose $40$ times in a row. So the probability that we win at least once is approximately $1-0.775768$, which is about $0.224232$. Pretty good, specially since we may even win more than one prize.