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. Advertising

  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. Advertising

  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. Advertising

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:
    3,964
    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:
    3,973
    Kevin Spencer
    Apr 20, 2005
  3. EDom
    Replies:
    0
    Views:
    448
  4. keto
    Replies:
    0
    Views:
    1,001
  5. David Cournapeau

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

    David Cournapeau, Dec 30, 2008, in forum: Python
    Replies:
    0
    Views:
    374
    David Cournapeau
    Dec 30, 2008
Loading...

Share This Page