Catherine Devlin demonstrates a fun way to show a flipped coin programmatically in an IPython workbook adapting the html representation of an object to show the correct picture (“heads” or “tails”) of a coin: