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