# Author: James Tam # Version: November, 2012 # Learning concepts: # * Creating hard-coded lists # * Using the len and print functions in conjunction with lists # * Using the '*' and '+' operators with lists list1 = [1, 2.0, "foo"] list2 = [[1,2,3], "bar"] print(list1) print(list2) print(len(list1)) list1 = list1 * 2 print(len(list1)) print(list1) list3 = list1 + list2 print(list3)