One Liner Python If Condition