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: [578, 776, -476, 793, -821, -843, 516, 935, -481, -292, -955, 736, 565, 63, -629, -600, 712, 559, 378, 695, 679]
Student:
[-292, 565]