Python If Input Is Not Empty