wie man einen String -Python zentriert

x = "Hello world"
print(x.center(30))
dunk shot enthusiast