Basic Python Programs With Logics