the, the issue is that the last loop adds the last value of everything
to the data array
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> i am having a problem writing a tuple to a text file. my code is
> below.
I'd rather say you are having a problem with logic.
> what i end up getting is a text file that looks like this
>
> burger, 7up
> burger, 7up
> burger, 7up
Which is exactly what one would expec
[EMAIL PROTECTED] wrote:
> i am having a problem writing a tuple to a text file. my code is
> below.
>
> what i end up getting is a text file that looks like this
>
> burger, 7up
> burger, 7up
> burger, 7up
>
> and this is instead of getting a list that should look like this
>
> burger, 7up
>
i am having a problem writing a tuple to a text file. my code is
below.
what i end up getting is a text file that looks like this
burger, 7up
burger, 7up
burger, 7up
and this is instead of getting a list that should look like this
burger, 7up
fries ,coke
cake ,milk
note that i have print stat