|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
I am searching for something which is opposite to the "\n". print "aaa \n bbb"; will output: aaa bbb And I need two print-commands write to one line: print "aaa"; print "bbb"; Desired output: aaabbb Can I reach the goal by putting something after aaa? Thank you. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
..oO(Kurda Yon)
>I am searching for something which is opposite to the "\n". Hmm? The opposite of a line break is ... no line break? >print "aaa \n bbb"; > >will output: >aaa >bbb Correct. >And I need two print-commands write to one line: >print "aaa"; >print "bbb"; > >Desired output: >aaabbb That's exactly what the two print commands above will do. Micha |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Feb 14, 7:24 pm, Michael Fesser <neti...@gmx.de> wrote:
> .oO(Kurda Yon) > > >I am searching for something which is opposite to the "\n". > > Hmm? The opposite of a line break is ... no line break? > > >print "aaa \n bbb"; > > >will output: > >aaa > >bbb > > Correct. > > >And I need two print-commands write to one line: > >print "aaa"; > >print "bbb"; > > >Desired output: > >aaabbb > > That's exactly what the two print commands above will do. > > Micha Right. I am stupid. Sorry. ![]() |
|
![]() |
| Outils de la discussion | |
|
|