Re: [Tutor] FW: Can this be done easly

2010-09-19 Thread Roelof Wobben
> From: andreeng...@gmail.com > Date: Sun, 19 Sep 2010 20:54:01 +0200 > Subject: Re: [Tutor] FW: Can this be done easly > To: rwob...@hotmail.com > CC: tutor@python.org > > On Sun, Sep 19, 2010 at 8:33 PM, Roelof Wobben wrote: > &

Re: [Tutor] FW: Can this be done easly

2010-09-19 Thread Andre Engels
On Sun, Sep 19, 2010 at 8:33 PM, Roelof Wobben wrote: > Hello, > > I changed the programm to this : > > import unittest > class Point: >    def __init__(self, x=0, y=0): >        self.x = x >        self.y = y > > class Rectangle(object): >    def __init__(self, base_point, width=0, length=0): >

Re: [Tutor] FW: Can this be done easly

2010-09-19 Thread Roelof Wobben
> To: tutor@python.org > From: __pete...@web.de > Date: Sun, 19 Sep 2010 20:07:05 +0200 > Subject: Re: [Tutor] FW: Can this be done easly > > Roelof Wobben wrote: > >> For this exercise : >> >> 3.Write a function

Re: [Tutor] FW: Can this be done easly

2010-09-19 Thread Andre Engels
On Sun, Sep 19, 2010 at 7:02 PM, Roelof Wobben wrote: > > > > >> From: rwob...@hotmail.com >> To: __pete...@web.de >> Subject: RE: [Tutor] Can this be done easly >> Date: Sun, 19 Sep 2010 17:01:22 + >> >> >> >> >> ---

Re: [Tutor] FW: Can this be done easly

2010-09-19 Thread Peter Otten
Roelof Wobben wrote: > For this exercise : > > 3.Write a function named move_rect that takes a Rectangle and two > parameters named dx and dy. It should change the location of the rectangle > by adding dx to the x coordinate of corner and adding dy to the y > coordinate of corner. > > Is this on

[Tutor] FW: Can this be done easly

2010-09-19 Thread Roelof Wobben
> From: rwob...@hotmail.com > To: __pete...@web.de > Subject: RE: [Tutor] Can this be done easly > Date: Sun, 19 Sep 2010 17:01:22 + > > > > > >> To: tutor@python.org >> From: __pete...@web.de >> Date: Sun, 19