Engr Final Flashcards
1
Q
==
A
equal
2
Q
=
A
assigning
3
Q
!=
A
does not equal too
4
Q
<
A
less than
5
Q
>
A
greater than
6
Q
<=
A
less than or equal too
7
Q
> =
A
greater than or equal too
8
Q
and
A
both/all must be true
9
Q
or
A
if any are true, whole thing is true
10
Q
not
A
True becomes False; False becomes true
11
Q
is
A
return true, if what is given is the same
12
Q
is not
A
return true, if what is given is not the same
13
Q
in
A
returns true, if what is given is in the date set
14
Q
not in
A
returns true, if what is given is not in the data set
15
Q
not (A and B)
A
((not A) or (not B))
16
Q
not ( A or B)
A
((not A) or (not B))
17
Q
How does the format slicing look like?
A
[x:y]
18
Q
For slicing what is the starting index?
A
0