3 ms·
In addition to f-strings, Python supports this (slight) improvement on your version. "lhs=({l.x}, {l.y}); rhs=({r.x}, {r.y})".format(l=lhs, r=rhs)
by antsar 9y ago
In addition to f-strings, Python supports this (slight) improvement on your version.
"lhs=({l.x}, {l.y}); rhs=({r.x}, {r.y})".format(l=lhs, r=rhs)