From 611c6d3740e953ceca6a42c9d33b635e587ace7c Mon Sep 17 00:00:00 2001 From: DiamondNether90 Date: Fri, 9 Jan 2026 11:45:11 +1100 Subject: [PATCH] Add Print Keyword --- Print-Keyword.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Print-Keyword.md diff --git a/Print-Keyword.md b/Print-Keyword.md new file mode 100644 index 0000000..3adb031 --- /dev/null +++ b/Print-Keyword.md @@ -0,0 +1,33 @@ +# Print + +Keyword: `print` (or `stdout`) + +Syntax: `print $str` + +Time Complexity: + +## Overview +The `print` keyword appends its argument to stdout. + +## Example usage +This program prints "Hello, world!" to the terminal +```py +print "Hello, world!" +``` + +# Println + +Keyword: `println` (or `stdlnout`) + +Syntax: `println $str` + +Time Complexity: + +## Overview +The `println` keyword appends its argument to stdout, then flushes the buffer. + +## Example usage +This program prints "Hello, world!" and flushes the terminal +```py +println "Hello, world!" +``` \ No newline at end of file