This is a question from an "Elementary Introduction to the Wolfram Language" Section 28: Tests and Conditionals. We are asked to "Make a list of the first 100 primes, keeping only ones whose last
digit is less than 3."
I think it should look something like this:
Select[Prime[Range], f[#]<3 &]
where f[#] specifies a function that would select the last digit of each number.
However, I do not know how to create a condition on the last digit of a number?
Would somebody be able to help with this? Or point out where I've gone wrong so far. Thanks!