Is there any way to write if x within 30 of y = true?
if (int3.winfo_rooty() > 30 and 30 < int2.winfo_rooty()) and (int3.winfo_rootx() > 50 and 50 < int2.winfo_rootx()):
I was doing this but i realize its just comparing the variables to the integers and not to each other (since it is always passing).
New contributor
user24983129 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.