#
File Lists02.py
# Rev 2/4/00 # Copyright 2000, R. G. Baldwin # Illustrates concatenating # lists # #------------------------------- print "Create two lists" listA = [3.14,59,"A string", 1024] listB = [2,4,6,16] print "Print listA" print listA print "Print listB" print listB print "Concatenate the lists" listC = listA + listB print "Print concatenated list" print listC Figure 9 |