Simple Python Program With Logical Meaning