Python:格式化字符串以在打印语句之前包含空格

Bea*_*eau -1 python formatting

我如何才能在以下打印语句的后半部分开头有 10 个空格?

print("I need ten spaces", "This sentence should have ten spaces in between this and the first statement")
Run Code Online (Sandbox Code Playgroud)

我想输出...

I need ten spaces          This sentence should have ten spaces in between this and the first statement
Run Code Online (Sandbox Code Playgroud)

yat*_*atu 6

使用中的sep参数print

print("I need ten spaces", 
      "This sentence should have ten spaces in between this and the first statement", 
      sep=' '*10)
# I need ten spaces          This sentence should have ten spaces in between this and the first statement
Run Code Online (Sandbox Code Playgroud)