Source code for example_code.simple_classes

'''A very elementary set of classes and objects for one of the week 3 quiz
    questions.'''


[docs]class a: def __init__(self, b): self.b = b
[docs] def c(self): return float(self.b)
d = a e = a(2) f = e.c() g = e.c