class_docstr: A basic Rect class. Assumes tl <= br.
class_docstr_tok: ["A","basic","Rect","class",".","Assumes","tl","<","=","br","."]
code: def __str__(self):
      if all(isinstance(v, int) for v in self):
          return "%d,%d,%d,%d" % self
      else:
          return "%.6f,%.6f,%.6f,%.6f" % self
  
imports: import collections
  import math
  import random
label_desc: Use image node_id 2 for calling the Rect obj's underlying member method code with example usage: obj.__str__() and returns: unknown, unknown