Code
x = 5
name = "Alice"Python Basics
True or False.| Operator | Description |
|---|---|
+ |
Addition |
- |
Subtraction |
* |
Multiplication |
/ |
Division |
% |
Modulus |
** |
Exponentiation |
// |
Floor division |
| Operator | Description |
|---|---|
and |
Returns True if both statements are true |
or |
Returns True if one of the statements is true |
not |
Reverse the result, returns False if the result is true |
Hello World
Hello World
This cheatsheet covers the very basics to get you started with Python. Experiment with these concepts to understand them better!