Python Split String Into Two Variables Linear Equations