Re: newbie ``print`` question

Discussion in 'Python' started by me, Sep 2, 2012.

  1. me

    me Guest

    Well you can convert the ints to str then concatenate them.

    print "1" + "2"
     
    me, Sep 2, 2012
    #1
    1. Advertisements

  2. On 02/09/2012 20:58, me wrote:
    > Well you can convert the ints to str then concatenate them.
    >
    > print "1" + "2"
    >


    Please post other parts of the thread so people can get the context or
    don't bother posting at all, thanks.

    --
    Cheers.

    Mark Lawrence.
     
    Mark Lawrence, Sep 2, 2012
    #2
    1. Advertisements

  3. me

    Chris Rebert Guest

    On Sun, Sep 2, 2012 at 1:24 PM, Mark Lawrence <> wrote:
    > On 02/09/2012 20:58, me wrote:
    >>
    >> Well you can convert the ints to str then concatenate them.
    >>
    >> print "1" + "2"
    >>

    >
    > Please post other parts of the thread so people can get the context or don't
    > bother posting at all, thanks.


    Please also adjust your mail client so that your "From" is more
    informative and less confusing than simply "me".

    Regards,
    Chris
     
    Chris Rebert, Sep 2, 2012
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bad_Kid
    Replies:
    3
    Views:
    4,146
    Shawn H. Mesiatowsky
    Apr 7, 2005
  2. Bryan Shaw

    Lock Print Screen and File Print

    Bryan Shaw, Apr 19, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    4,200
    Kevin Spencer
    Apr 20, 2005
  3. Replies:
    2
    Views:
    340
  4. keto
    Replies:
    0
    Views:
    1,369
  5. David Cournapeau

    print a vs print '%s' % a vs print '%f' a

    David Cournapeau, Dec 30, 2008, in forum: Python
    Replies:
    0
    Views:
    638
    David Cournapeau
    Dec 30, 2008
  6. Jerry C.
    Replies:
    8
    Views:
    577
    Uri Guttman
    Nov 23, 2003
  7. martin
    Replies:
    2
    Views:
    225
    Ian Wilson
    Apr 18, 2006
  8. gwhite

    newbie ``print`` question

    gwhite, Sep 2, 2012, in forum: Python
    Replies:
    25
    Views:
    616
Loading...