<pre><code>athletes = [['Phelps', 'Lochte', 'Schooling', 'Ledecky', 'Franklin'], ['Felix', 'Bolt', 'Gardner', 'Eaton'], ['Biles', 'Douglas', 'Hamm', 'Raisman', 'Mikulak', 'Dalton']]
t = []
other = []
for lst in athletes:
for lst2 in athletes:
if 't' in lst2:
t.append(lst2)
else:
other.append(lst2)
</code></pre>
<pre><code># make a "flat" list of names
flat_list = sum(athletes, [])
# use list comprehensions
t = [x for x in flat_list if "t" in x]
other = [x for x in flat_list if "t" not in x]
</code></pre>