Files
pplus-core/mojo/probes/input-lines.mojo
T
2026-10-05 03:03:38 +00:00

8 lines
177 B
Mojo

# probe: input() reads one line per call; atol parses an Int
# stdin: 42\nhello\n
def main() raises:
var a = input()
var b = input()
print(atol(a) + 1)
print(b)