Operators Flashcards
(19 cards)
1
Q
+
A
addition
2
Q
-
A
subtraction
3
Q
*
A
multiplication
4
Q
**
A
power
5
Q
/
A
division
6
Q
//
A
floor division (division but rounded to the nearest integer)
7
Q
%
A
remainder
8
Q
=
A
assignment
9
Q
==
A
equal
10
Q
!=
A
not equal
11
Q
>
A
greater than
12
Q
<
A
less than
13
Q
> =
A
greater than or equal to
14
Q
<=
A
less than or equal to
15
Q
and
A
True if both are true
16
Q
or
A
True if one is true
17
Q
not
A
False if the result is true
18
Q
is
A
True if both are the same object
19
Q
in
A
True if the sequence is present in the object