> With other words I'd like to tell Python: Convert into a float if > possible, otherwise append anyway. [ (type(x) == type(5) and float(x) or x) for x in mylist ] Should do it... Alan G.