b=list(input())输出列表b中第一个元素和最后一个元素,二者之间用一个空格分隔
b = list(input()) print(b[0], b[-1])
print(b[0], ' ', b[len(b) - 1])或者print(b[0], ' ', b[-1])