String in Functions


Can anyone help me with this??


What's the issue though? What information are you missing? Ask questions
Consider what you need, argue for why your current code should or shouldn't do what you want. Explain what you're currently trying to make happen


I think you misunderstood the question. The string 's' must be concatenated with the string 'world'

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



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