I'm somewhat new to python - I at least thought I had a solid understanding of the syntax but can't seem to figure out why this function does not work.
I want to write a function to capitalize the letters of a string.
string = 'Bryan'
def caps(word):
word.upper()
caps(string)
What am I not understanding here? Seems basic to me but can't figure it out. Any help would be appreciated!