Teacher:In this task you will be given a list of integers. You should only return an integer if the first digit is the same as the last digit in the number. If an integer has a single digit, then it should be returned. If there are no integers that start and end with the same digit then an empty list ("[]") should be returned.
Teacher: Now, understand the problem? Solve this instance: [840, -677, 583, -104, -733, -544, -895, 518, 910, -355, -624, -945, -261, -724, 235, 592, 333, 86, 60, 661, -905]
Student:
[333]