Lesson4- 11 Flashcards
(9 cards)
1
Q
definition of control structure
A
the order in which program statements are executed
2
Q
sequential structure
A
set of statements which are executed in the order they occcur
3
Q
decision-making structure
A
a certain action is performed only when specific conditions happen (IF function idea)
4
Q
meaning ==
A
equal to
5
Q
meaning !=
A
different from
6
Q
if is always followed by an else.. if not by an elif which is followed by an else
A
-
7
Q
meaning of (not) operator
A
return True if the argument is false and false when argument is true
8
Q
syntax of range function
A
range(start,stop[step])
9
Q
if within a while loop, at some point you want to go to the next iteration, to skip the following lines of code one must…
A
use (continue)