suppose I have:
values = ['a', 1, 2, 3.462874271095e-13, 'c']
I would like to generate the following format string:
"My values are: %s, %d, %d, %f, %s"
NOTE: Assume you don't know the type of the variables in the list, they can appear in any order. You are trying to determine whether to use %d, %f or %s. You can only have numbers and strings in the list. If you encounter a number with decimal places you don't want to print in scientific notation.