code: def rectangle(win, uly, ulx, lry, lrx):
      """Draw a rectangle with corners at the provided upper-left
      and lower-right coordinates.
      """
      win.vline(uly + 1, ulx, curses.ACS_VLINE, lry - uly - 1)
      win.hline(uly, ulx + 1, curses.ACS_HLINE, lrx - ulx - 1)
      win.hline(lry, ulx + 1, curses.ACS_HLINE, lrx - ulx - 1)
      win.vline(uly + 1, lrx, curses.ACS_VLINE, lry - uly - 1)
      win.addch(uly, ulx, curses.ACS_ULCORNER)
      win.addch(uly, lrx, curses.ACS_URCORNER)
      win.addch(lry, lrx, curses.ACS_LRCORNER)
      win.addch(lry, ulx, curses.ACS_LLCORNER)
  
file_path: cpython/Lib/curses/textpad.py
imports: import curses
  import curses.ascii
label_desc: Use image node_id 1 for calling a global function with example usage: rectangle(win, uly, ulx, lry, lrx) without return types