One Liner Python If String