# Create a list of mixed types (strings, integer, bools) mylist=["This is a string","6",6,True,"False"] # Loop through the list and display the item and type i=0 for x in mylist: print "%d: item \"%s\" - %s" %(i,x,type(x)) i += 1