A Python Book: Beginning Python, Advanced Python, and Python ...
Python – Making Decisions Lecture 02. Control Structures A program that only has one flow is...
12
Python – Making Decisions Lecture 02
-
Upload
calvin-jenkins -
Category
Documents
-
view
213 -
download
1
Transcript of Python – Making Decisions Lecture 02. Control Structures A program that only has one flow is...
Control StructuresA program that only has one flow is useful but limited. We can use if statements to make these decisions
Comparison OperatorsEqual toGreater than Less thanGreater than or equal toLess than or equal toNot equal to
==><>=<=!=
Logic OperatorsCheck for multiple conditions in the same keyword.There are only three: and, or, not.