Help In this stuff | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
11th Jun 2022, 3:45 AM
Alejandro47
Alejandro47 - avatar
5 Answers
+ 1
Alejandro47 I attached a little code adaptation in your code's comment section which I hope will explain your misunderstandings
11th Jun 2022, 4:07 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 2
Alejandro47 print(word[0], end = "")
11th Jun 2022, 3:47 AM
A͢J
A͢J - avatar
+ 2
Alejandro47 print function print values in new line so to avoid this we use end = ''
11th Jun 2022, 3:55 AM
A͢J
A͢J - avatar
+ 1
Thanks but what end= "" means I don't understand that or where I can see that
11th Jun 2022, 3:53 AM
Alejandro47
Alejandro47 - avatar
+ 1
Thanks I didn't see that anywhere
11th Jun 2022, 3:56 AM
Alejandro47
Alejandro47 - avatar