shout
🔹 Summary
The shout
keyword is the Python equivalent of the print()
function. It puts anything that comes right after it into the console.
TLDR: Puts a value on the console.
🔍 Syntax
shout value,
- Where value can be a string literal, variable name (identifier), a number or a mathematical expression.
Examples:
shout "Hello world!",
shout a,
shout 1 + 3 / 3,
Output:
Hello world!
Value of a
2