How to print all values in a same line in Python?


Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8
All QuestionsCategory: PythonHow to print all values in a same line in Python?
Chetan Shidling asked 6 years ago

I need short information.

1 Answers
chetan shidling answered 6 years ago

By using this,
 
print(“chetan” ,end=” “)
print(” shidling”,end=” “)
 
The output will be – chetan Shidling
 
By using this you can print value in a same line.