[Tutor] User selections question

William Perry wmperry@swbell.net
Fri, 06 Apr 2001 19:16:59 -0500


*********** REPLY SEPARATOR  ***********

On 4/6/01 at 2:37 AM Daniel Yoo wrote:
>The indentation of the code feels a little weird to me; it might be better
>to indent this like:
>
>    while tst:
>        area =3D input("enter ")
>        if area =3D=3D 1:
>            res =3D area1()
>            l.append(res)
>
>        ...


I noticed that the indenation was changed in the posted message. In the=
 functional code it matches your example.


I'll digest your changes. It looks like a cleaner way to do it. and Yes,=
 the number of possible inputs in a full featured version of what I'd=
 trying would be in the 20-30 range so expandability is needed from the=
 start.

Thanks !!!!


Bill Perry