how to change [1,2,3,4] to '1234' using python

后端 未结 2 483
借酒劲吻你
借酒劲吻你 2020-12-19 13:12

How do I convert a list of ints to a single string, such that:

[1, 2, 3, 4] becomes \'1234\'
[10, 11, 12, 13]

2条回答
提交回复
热议问题