code: def hailstone(n):
      seq = [n]
      while n > 1:
          n = 3 * n + 1 if n & 1 else n // 2
          seq.append(n)
      return seq
  
label_desc: Use image node_id 1 for calling a global function with example usage: hailstone(n) and returns: seq