Comparing two algorithms on the same split is the right habit to build early. The caveat worth knowing before the numbers mean much: Iris is 150 rows, so a test split is around 30 samples and one flower changing sides moves accuracy by three points. Two models that look different here are usually inside the noise, which is exactly why cross-validation exists - it is not extra ceremony, it is the only way to get a stable comparison on a dataset this size. The other thing this pairing teaches nicely is that the decision tree will happily reach 100 percent on training data while the logistic regression will not. That gap between train and test score is the most useful diagnostic you will carry forward, long after Iris.