import sys alphas = 'abcdefghijklmnopqrstuvwxyz' nums = '22233344455566677778889999' def cal(x): if x.isalpha()==False: out1 = x elif x.islower()==True: for i in range(len(alphas)): if x==alphas[i]: out1 = nums[i] else: for i in rang...