Lists and Functions lesson 7


Oops, try again. string_function('Waynes') returned 'Helloworld' instead of 'Waynesworld'

Where did Waynes come from???

# Your function here!
def string_function(s):
    s = 'world'
    return n +  s 

print string_function(n)
This is what I get


Try changing the parameter to n.


Thanks Don't know how I missed that!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.