vijaykramesh/khan-exercises — comment on commit 9c0c9cb10f9fafaddc93e0588b082feeae377468
File:  line 0
By smenks13:

Hi @vijaykramesh!

I took a look at your exercises and wanted to let you know that they look good! I'm going to take a closer look tomorrow and try to make comments on particular lines where I might have suggestions.

In the meantime, I don't know if you're stuck on the hints for the "standard-to-point-slope" problem type, or if you just haven't gotten around to tackling them yet, but here are my thoughts: Why don't you solve for the slope of the line first (let's say it's 2), then say "Given that the slope is 2, the equation in point-slope form will be (y - y1) = 2(x - x1), where (x1, y1) is any point on the line." Then you could say, "Since the problem asks us to pick an integer between -5 and 5, let's choose 3" (perhaps pick a randRange(-5, 5) here). Then sub-in, find y, and say "Thus (y - 5) = 2(x - 3) is one way to express the equation of the line in point-slope form."

I like the way you've worded things thus far, feel free to go in your own direction on the hints as well! Nice work!