cara membuat teks kapitalisasi dalam python

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

x = txt.capitalize()

print (x)
husseinpenart