Please help with this
Dave Angel
davea at davea.name
Wed Nov 13 01:45:02 EST 2013
On Tue, 12 Nov 2013 20:18:58 -0800 (PST), saad imran
<saad.imran98 at gmail.com> wrote:
> Could you point out any errors in my code:
> que1 = "4481 *2"
> ans1 = "8962"
> que2 = "457 * 21"
> ans2 = "9597"
These values should all be in a single named structure, probably a
list of tuples. Then all that duplicated code could be condensed into
a single block.
Is that the error you wanted us to find?
--
DaveA
More information about the Python-list
mailing list