I'm trying to initiate the variables at zero, so it currently looks like this
x1,y1,x2,y2=(0,0,0,0)
It works, but just seems a little redundant. Is there a cleaner way?
I'd usually do
x1 = y1 = x2 = y2 = 0
However, this hardly matters. Both versions are easy to grasp at a single glance.
1.4m articles
1.4m replys
5 comments
57.0k users