#1.正负转换
'''
a=input("请输入一个数")
a=list(a)
if a[0]=='+':
a[0]='-'
b = [str(j) for j in a]
c = ''.join(b)
print(c)
elif a[0]=='-':
a[0]='+'
b = [str(j) for j in a]
c = ''.join(b)
print(c)
else:
print("输入错误")
'''
#2.字符转换
‘’’
a=input("请输入字符")
b=a.upper()
c=a.lower()
c1=list(c)
b1=list(b)
for itemb in c1:
mac= itemb
for itema in b1:
if mac == itema[0]:
itema[1] += cnt
break
else:
b1.append(itemb)
print(b1)
‘’’