class Complex: def __init__(self, realpart, imagpart): self.r = realpart self.i = imagpartx = Complex(3.0, -4.5)x.counter = 1while x.counter < 10: x.counter = x.counter * 2print x.counterdel x.counter
Name (required)
email (will not be published) (required)
Website