Strings in functions


#1

Can anyone provide some guidance here?

n = "Hello"
string_function = "s"
"s" == "world"
return "n"+"s"

print string_function(n)


#2
  
def string_function(s):
        s = s + str("world")
        return s
    
    
print string_function(n)