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

All QuestionsCategory: PythonHow to print all values in a same line in Python?
Chetan Shidling asked 4 years ago

I need short information.

1 Answers
chetan shidling answered 4 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.