A.
Can somebody explain what this section does in this code (http://codepad.org/SyWLTfqs)?
class_names = [w.capitalize() for w in
random.sample(WORDS, snippet.count("###"))]
Where does the "w" come from? Where does the function capitalize() come from?
wcomes from.capitilize()is a method of all string objects.