How do I eliminate space(' ') between 2 objects while using ',' in print() | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I eliminate space(' ') between 2 objects while using ',' in print()

For ex print(2,3) Output:-2 3 What I want :- 23

23rd Dec 2020, 1:27 PM
Amit Kumar
Amit Kumar - avatar
3 Answers
+ 2
Amit Kumar , try this => print(2,3, sep = "")
23rd Dec 2020, 1:37 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
23rd Dec 2020, 1:40 PM
Amit Kumar
Amit Kumar - avatar
0
Amit Kumar , you are welcome.
23rd Dec 2020, 1:41 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar