djfz-2023-s473575/TaskX03/run.py
2023-11-26 12:43:04 +01:00

8 lines
154 B
Python

import sys
for line in sys.stdin:
stripped_line = line.strip()
line_length = len(stripped_line)
print(f"{line_length} {stripped_line}")