diff --git a/TaskX03/Makefile b/TaskX03/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/TaskX03/run b/TaskX03/run new file mode 100644 index 0000000..c03babb --- /dev/null +++ b/TaskX03/run @@ -0,0 +1,2 @@ +#!/bin/bash +python TaskX03/run.py "$@" \ No newline at end of file diff --git a/TaskX03/run.py b/TaskX03/run.py new file mode 100644 index 0000000..3215fb4 --- /dev/null +++ b/TaskX03/run.py @@ -0,0 +1,7 @@ +import sys + +for line in sys.stdin: + line = line.strip() + dl = len(line) + print("{} {}".format(dl, line)) +