How can I remove spaces before commas in python without regexes?

前端 未结 0 1761
天涯浪人
天涯浪人 2021-01-04 04:51

print(contact.lastname,",", contact.firstname,",", contact.email,",", contact.phone)

The output is: Polo , Marco , cam.com , 444-444-444

相关标签:
回答
  • 消灭零回复
提交回复
热议问题