Operators Flashcards
1
Q
+
A
Addtion
2
Q
+
A
Addtion
3
Q
-
A
Substraction
4
Q
*
A
Multiplication
5
Q
**
A
Power of
6
Q
/
A
Division
7
Q
//
A
Floor division (doesn’t give you any decimals, only the “entire” number of a division)
8
Q
%
A
String interpolate or modulus (residue of a division)
9
Q
A
Less than
10
Q
>
A
Greater than
11
Q
<=
A
Less than equal
12
Q
> =
A
Greater than equal
13
Q
==
A
Equal
14
Q
!=
A
Not Equal
15
Q
( )
A
Parenthesis
16
Q
[ ]
A
List brackets
17
Q
{ }
A
Dict curly braces
18
Q
@
A
At (decorators)
19
Q
,
A
Comma
20
Q
:
A
Colon
21
Q
.
A
Dot
22
Q
=
A
Assign equal
23
Q
;
A
Semi-colon