Como fazer capitalizar o texto em python

x = txt = 'hi this is hussein asadi from iran '

x = txt.capitalize()

print (x)
husseinpenart