Input Output - Squeng/Polyglot GitHub Wiki
In Scala, use object Console for output and object StdIn for input.
In Java, use the System.out as well as System.err instances for output and the Console instance via System.console() or a Scanner instance (e.g., via System.in) for input.
In Python, use the built-in print function for output and the built-in input function for input.