So I was told to write a function called string_function and give it the argument S but no matter what I did, I could not get the right answer. Now it was only after I searched for the answer on here that I toyed with using n as a function instead which did end up giving me the right answer after I used this code below.
I feel like with so many of these exercises, the instructions actually work against me and throw me off, sometimes the examples and templates do too. Please explain to me how I could have used s to get the correct answer instead of using n.
n = "Hello" def string_function(n): s = 'world' return n + s print (string_function(n))