while True: try: arr = input().strip().split(' ') print(len(arr[-1])) except: break需要处理...