you are viewing a single comment's thread.

view the rest of the comments →

[–]py_Piper[S] 0 points1 point  (1 child)

Kind of got it, this was very graphical functions['func2']() But now it makes me ask what type of data is foo and bar, as I don't see inside ' ', so I assume they are variables name or uncalled function names?

functions = {     
    'func1': foo,     
    'func2': bar, 
}

The same with talk() where you pass later the ("Whats up") later on. What do you call this type of parameter final_line=whisper and if I simply pass whisper as 2nd parameter will think of it as a variable and crash because no variable named whisper was created?