+ 2

Any suggestions fixing this one. #PYTHON

https://code.sololearn.com/cAnpLEQHuXR5/?ref=app The code works perfectly fine for the challenge it was made for i.e. caesar cipher. Now the only thing I want is to put all the output text together so it is readable like a sentence.. Any way to do it?

1st Aug 2019, 8:30 AM
Rohit Panchal
Rohit Panchal - avatar
8 Réponses
+ 2
Like this. The "end" parameter indicates what should be printed after the text. It defaults to a new line character https://code.sololearn.com/cVF3ScIfzjI3/?ref=app
1st Aug 2019, 8:38 AM
Trigger
Trigger - avatar
+ 3
Thomas Williams Wow that actually worked. Thanks for the great and simple way to fix this.. Also, thanks got to learn about something new.
1st Aug 2019, 8:41 AM
Rohit Panchal
Rohit Panchal - avatar
+ 2
print(text, end='')
1st Aug 2019, 8:35 AM
Trigger
Trigger - avatar
1st Aug 2019, 8:36 AM
Rohit Panchal
Rohit Panchal - avatar
+ 2
No problem👍🏼
1st Aug 2019, 8:41 AM
Trigger
Trigger - avatar
+ 2
Fuhrer hahah thanks bro. Btw some great minds already got this one.
1st Aug 2019, 8:44 AM
Rohit Panchal
Rohit Panchal - avatar