Home
Python
2D
Application
Buildin Function
Class
Data Structure
Data Type
Database
Development
Dictionary
Event
Exception
File
Function
GUI Pmw
GUI Tk
Language Basics
List
Math
Network
String
System
Thread
Tuple
Utility
XML
And Or « Language Basics « Python
Python
Language Basics
And Or
1.
And or with values in a list
2.
Introducing and
3.
And Or in Python: int, empty list and empty dictionary
4.
Introducing or
5.
Using the and-or Trick
6.
When the and-or Trick Fails
7.
Using the and-or Trick Safely