If i remove the +fun it only prints 'Hi'


what is the logic behind this code?

def display(fun):
    return 'Hi.' +fun

def message():
    return 'How are you?'



The code says what it does, I’m not sure what you’re asking or what the confusion is about.

Perhaps you should be asking about some specific action in there, or perhaps grabbing a tutorial and reading about how those things work is in order?

I suppose what I’m really looking for here is an argument for why you need help with it.


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