On Tue, May 10, 2016 at 10:37 PM, nitin chandra <nitinchand...@gmail.com> wrote:
> Thank you Danny, Alan,
>
> @ Danny
>
> I added 'str(formt(line1[0]))' .... will this do ?


Unfortunately, I don't know: what makes me hesitant is the following:

* The above is doing something just to line1[0], which looks odd.  Why
just line1[0]?

* What's the type of line1?  Is it a list of strings?  If so, then
calling str() on a string is redundant.

* I don't know what "formt" is.

So, yeah, I have enough questions and uncertainty that I need to
hedge.  This is not to say that you got it right or wrong, but rather
that I don't have enough information to decide either way.  There are
a lots of little details to get right when we program.  Rather than
handwave and assume that things are ok, I'll be truthful and admit my
ignorance.


Hope that makes sense!
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to