<HTML><FONT FACE=arial,helvetica><FONT SIZE=2 PTSIZE=10>I would like to insert </FONT><FONT COLOR="#0000ff" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=2 PTSIZE=10 FAMILY="SANSSERIF" FACE="Arial" LANG="0">string.join(msgList,"")</FONT><FONT COLOR="#000000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=2 PTSIZE=10 FAMILY="SANSSERIF" FACE="Arial" LANG="0"> into the following program where do I insert it?
<BR>
<BR># numbers2text.py
<BR># A program to convert a sequence of ASCII numbers into
<BR># a string of text.
<BR>
<BR>import string # include string library for the split function.
<BR>
<BR>def main():
<BR> print "This program converts a sequence of ASCII numbers into"
<BR> print "the string of text that it represents."
<BR> print
<BR>
<BR> # Get the message to encode
<BR> inString = raw_input("Please enter the ASCII-encoded message: ")
<BR>
<BR> # Loop through each substring and build ASCII message
<BR> message = ""
<BR> for numStr in string.split(inString):
<BR> asciiNum = eval(numStr) # convert digits to a number
<BR> message = message + chr(asciiNum) # append character to message
<BR>
<BR> print "The decoded message is:", message
<BR>
<BR>main()</FONT></HTML>