Ask a question to get started
Enter to sendā¢Shift+Enter new line
print_text( text: str, color: str | None = None, end: str
text
str
The text to print.
color
str | None
None
The color to use.
end
''
The end character to use.
file
TextIO | None
Print text with highlighting and no end characters.
If a color is provided, the text will be printed in that color.
If a file is provided, the text will be written to that file.
The file to write to.