code: def write_dict_to_file(dict, file_name):
      """This function creates a file and write the content of a dictionary into it"""
      file = open(file_name, "w", encoding="utf-8")
      keys = sorted(dict.keys())
      for key in keys:
          value = dict[key]
          if type(value) in [list, tuple]:
              if type(value) is tuple:
                  value = list(value)
              value = sorted(value)
              value = " ".join(str(value))
          file.write("{0} {1}\n".format(key, value))
      file.close()
  
imports: import argparse, shlex, glob, math, os, random, sys, warnings, copy, imp, ast
label_desc: Use image node_id 5 for calling a global function with example usage: write_dict_to_file(dict, file_name) without return types