This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# probe: on piped input, what does one input() return? (the first line, without its line break and with its spaces; the rest of the pipe is read and dropped, so a second input() raises EOF: see input-lines)
|
||||
# stdin: a b\nsecond\n
|
||||
# expect-stdout: [a b]
|
||||
def main() raises:
|
||||
print("[" + input() + "]")
|
||||
Reference in new issue
Block a user