Class Square
public python v1 · immutableside_length = raw_input("What is the site's lenght?: ")class Square: def __init__(self, side_length): self.side_len = side_length def calcA(self): return self.side**2print "The are is: %d " % Square(5).calcA