7-1 sdut-输出字母在字符串中位置索引 (10 分)
s = str(input())
n = len(s)
list = []
c1, c2 = input().split()
for i in range(n):
list.append(0)
for i in range(n):
if s[i]==c1 or s[i]==c2:
list[i] = 1
for i in range(n-1,-1,-1):
if list[i]==1:
print("{} {}".format(i, s[i]))
7-2 sdut-逆序的N位数 (10 分)
a = input()
if int(a) < 0:
a = a[1:]
b =