code: def ordinal(num):
      """Return ordinal number string of num, e.g. 1 becomes 1st."""
      # modified from https://codereview.stackexchange.com/questions/41298/producing-ordinal-numbers
      n = as_int(num)
      k = abs(n) % 100
      if 11 <= k <= 13:
          suffix = "th"
      elif k % 10 == 1:
          suffix = "st"
      elif k % 10 == 2:
          suffix = "nd"
      elif k % 10 == 3:
          suffix = "rd"
      else:
          suffix = "th"
      return str(n) + suffix
  
imports: from __future__ import annotations
  import operator
  import sys
  import os
  import re
  import struct
  from textwrap import fill, dedent
label_desc: Use image node_id 12 for calling a global function with example usage: ordinal(num) and returns: unknown