If Both Conditions Are True Python