Python string methods in a variable

前端 未结 0 1848
别跟我提以往
别跟我提以往 2021-02-04 09:32

Can a string method, such as .rjust(), be saved in a variable and applied to a string?

Looked here but could not find a solution.

For example, instead of stating <

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