lukew3 / mathgenerator

A math problem generator, created for the purpose of giving self-studying students and teaching organizations the means to easily get access to high-quality, generated math problems to suit their needs.
https://lukew3.github.io/mathgenerator
MIT License
681 stars 176 forks source link

Versatilize input order for distance_two_points #420

Closed kjschuel closed 1 year ago

kjschuel commented 1 year ago

Algebra.distance_two_points takes 2 inputs: the max value used for the two points and the min value used for the two points. This change eliminates the need for these values to be in the specific (max, min) order.

lukew3 commented 1 year ago

Thanks!