I have another question: ¿is there a method that allows me to capitalize the first letter of EVERY WORD in a given string?
I know that something like:
a = "hello world" print(a.capitalize())
would print "Hello world"
but I need it to print Hello World. It's for a program that automatically capitalizes book names, and they should be in that format. For instance: "The Book Of My Friends"
Thank you for your help.