Skip to main content
Log in

Mojo module

io

Provides utilities for working with input/output.

These are Mojo built-ins, so you don't need to import them.

Functions

  • input: Reads a line of input from the user.
  • print: Prints elements to the text stream. Each element is separated by sep and followed by end.

Was this page helpful?