April 2017
Beginner to intermediate
312 pages
7h 23m
English
Logical operators are used to check different conditions and execute the code accordingly. For example, detecting a button interfaced to the Raspberry Pi's GPIO being pressed and executing a specific task as a consequence. Let's discuss the basic logical operators:
>>>3==3 True >>>3==2 False
>>>3!=2 True >>>2!=2 False
>>>3>2 True >>>2>3 False
Read now
Unlock full access