Python Basic Programs For Logic Building