Basic Python Program Using Logical Operators