extract code, text as list

only question, answer object need these methods.
this resolves #21 
What does this line do? It's a list comprehension which isn't assigned to anything.