Files
pplus-library/mojo/probes/input-lines.mojo
T
2026-10-06 09:57:04 -04: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)