How about `delta = valstr[0] in ["+", "-"]`