+ 2

Space

wasn't this supposed to be First string,second string?

19th Feb 2018, 5:52 PM
Tiago Silva
8 odpowiedzi
+ 3
print ('{}, you are {}'.format('Jan', 'right'))
20th Feb 2018, 5:19 AM
Sebastian Keßler
Sebastian Keßler - avatar
+ 1
So, there is a typo there
19th Feb 2018, 6:31 PM
Tiago Silva
+ 1
You can also try: print ('{},{}'.format(First String, Last string)
19th Feb 2018, 8:23 PM
Sebastian Keßler
Sebastian Keßler - avatar
+ 1
I also heard that this code I posted is 'bad' code in Python 3
20th Feb 2018, 2:27 PM
Tiago Silva
+ 1
the code you posted it's cleaner
20th Feb 2018, 2:27 PM
Tiago Silva
+ 1
what do you mean?
22nd Feb 2018, 3:47 AM
Tiago Silva
0
when concatenating strings it adds a blank space?
19th Feb 2018, 6:02 PM
Tiago Silva
0
I thought my comment was going to appear below the question related. it's was something like "First string"+","+"last string" python
19th Feb 2018, 6:09 PM
Tiago Silva