Python Split String Into Two Variables Have A If The Data