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: [-622, 560, 847, -993, 81, -336, 863, -493, -701, 377, 481, 340, -782, -480, -377, -523, 985, 361, -883, 363, 748, 862, 240]
Student:
[363]