squares/rectanglesdrawing - github programs standard trianglesdrawing line and bar graph strategies - starting python programs - plotstategy class - state datadisplaying - program commands - state pattern sample code - consequences of github programs using - strings graphics drawing program example - docstrings sample code - formatting statemanager -string formatting format string function mediator interactions - len function switching between states methods - switching between states prefix/suffix removal transitions representing - statemanager mediator interactions - switching between states statements slicing structural patterns - adapter pattern class adapter break statements creating adapters - combined arithmetic/assignment statements github programs continue statements elif (else ifstatements - for statements if statements else clauses range function indentation input statements looping statements switch statements see match function static classessingleton pattern moving data between lists - pluggable adapters two-way adapters bridge pattern - consequences of - creating user interfaces extending bridges - github programs listbox builder - treeview widget - composite pattern stdtriangle classtemplate pattern boss class straight seeding classfactory method pattern - building employee trees strategy pattern composite implementation consequences of - context class caching results consequences of