One Liner Python If Functions