String in Functions


#1

Can anyone help me with this??


#2

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


#3

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)

cheers!


#4

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