Write A Python Program Using Logical Function