天天看點

python字元串的魔法

test = "alex"

v = test.ljust(20,"*")

print(v)