Quick actions

cmd+k|ctrl+k

Navigation

Languages

Python: functions are objects

Snippet info

Language

Python

Visibility

public

Author

atymo

Created

2018-05-13T11:15:33Z

Updated

2018-10-26T07:08:36Z

def say_hello(name):
    print("Hello %s!" % name)
    
say_hello("PyConDE 2018")

my_func = say_hello

my_func("Awesome PyConDE 2018")
INFO