# 获取输入 code = input() # 创建九宫格键盘对应字典 d = {"abc":2,"def":3,"ghi":4,"jkl":5,"mno":6,"pqrs":7,"tuv":8, "wxyz":9} # 遍历输入,进行字母大小判断,若为数字就原样输出 for i in code: if i.isupper(): # 判断大写 #这里特殊一点,如果是Z,就返回a.如果非Z,就变小写,然后利用...