1. Python supports the following logical operators:
Operators
1. An expression is a combination of values (or variables, operators, calls to functions ‒ you will learn about them soon) which evaluates to a certain value, e.g., 1 + 2
.
Literals
1. Literals are notations for representing some fixed values in code. Python has various types of literals – for example, a literal can be a number (numeric literals, e.g., 123
), or a string (string literals, e.g., “I am a literal.”).
The print() function
1. The print()
function is a built-in function. It prints/outputs a specified message to the screen/console window.