cara memusatkan python string

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