Update 'pages/students/2016/patrik_pavlisin/dp2022/prepare-data.sh'
This commit is contained in:
parent
8c54fbe98e
commit
512f3adff4
@ -0,0 +1,11 @@
|
|||||||
|
import sys
|
||||||
|
|
||||||
|
for l in sys.stdin:
|
||||||
|
line = l.rstrip()
|
||||||
|
tokens = line.split()
|
||||||
|
result = []
|
||||||
|
for token in tokens:
|
||||||
|
items = token.split("|")
|
||||||
|
print(items)
|
||||||
|
result.append(items[0])
|
||||||
|
print(" ".join(result))
|
Loading…
Reference in New Issue
Block a user