code: def change_sequence(
      seq, action, seqno=_Unspecified, cond=_Unspecified
  ):
      "Change the sequence number of an action in a sequence list"
      for i in range(len(seq)):
          if seq[i][0] == action:
              if cond is _Unspecified:
                  cond = seq[i][1]
              if seqno is _Unspecified:
                  seqno = seq[i][2]
              seq[i] = (action, cond, seqno)
              return
      raise ValueError("Action not found in sequence")
  
imports: from _msi import *
  import fnmatch
  import os
  import re
  import string
  import sys
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: change_sequence(seq, action, seqno, cond) without return types