Standard Library
io
Read input from the user and write text to the terminal.
Import:
import "io";Write a value to standard output, followed by a newline.
print("Hello world!");colprint
Write a value to standard output in a named color. Useful for log levels and CLI tools.
colprint("Something went wrong", "red");
colprint("Loaded successfully", "green");input
Print a prompt and return the line the user typed.
string name = input("What is your name? ");
print("Hello, " + name);