#6.3.2 try: a=eval(input()) print(len(a)) except NameError: print('字符串外需要加引号') except TypeError: print('数字不能用len()') except: print('其它错误')