How to pad a string with spaces in Python · Use str.ljust() to pad a string with spaces on the right · Use str.rjust() to pad a string with spaces on the left.
確定! 回上一頁