Strings in functions; 7/18


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at. The query string (? and beyond) may be truncated.>

<In what way does your code behave incorrectly? Include ALL error messages.>
Help i get this error message. I can’t seem to find the solution… plus I do not understand, from where “Whayne” coems from. It would be nice if someone would like to help me.

This is my Error:
Oops, try again. string_function(‘Waynes’) returned ‘Helloworld’ instead of ‘Waynesworld’

<What do you expect to happen instead?>

```python

n = “Hello”

Your function here!

def string_function(s):
s = n + ‘world’
return s

print string_function(n)

<do not remove the three backticks above>

#2

‘Waynes’ is testing your code.

n shouldn’t be there, you should simply add “world” to the end of s


#3

Ahh… thank you very much!