Atom - Ɠ - Evaluate STDIN

Characters: Ɠ

Tags: stdio

Arity: niladic

This atom is niladic, which means it takes no arguments.


Read and evaluate a single line from STDIN.


Read a line from standard input and evaluate it as Python code. Note that reading from STDIN is not usually as golfy or idiomatic as using the arguments tacitly; however, in certain circumstances, such as relying on the link or program being niladic for the alternative meanings of the argument nilads, it can actually save some bytes.


This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):