code: def write_languages(f, l):
      
      f.write("Languages = {%s" % os.linesep)
      for lang in sorted(l):
          f.write("    %r: %r,%s" % (lang, l[lang], os.linesep))
      f.write("}%s" % os.linesep)
docs: Write language information.