Feb-17-2020, 03:04 AM
(Feb-17-2020, 01:17 AM)michael1789 Wrote: You just need to check:
if x3 >= x1 and x3 <= x2: #<---- means it is in range from left to right and if y3 >= y1 and y3 <= y2: #<---- means it is in range from up and downIf both those are True then it's in the rectangle.
Ah! Thank you. I'm assuming that I can use different input statements and assignment operators for the variables, and then use this statement? Also, you'll have to forgive me, but how will I structure it to show that it is True?