def to_upper(text): text.upper() print('text =', text) a = 'cat' to_upper(a) print('after function:', a)