''' Function invocations require parentheses ''' s = "Black hole image revealed for first time ever" x = s.split # Basically x doesn't get the result of the function invocation. # It just gets the function itself! () # So x now stores the function s.split itself but it's not calling the function. # Variables are first class. They can be used, assigned, copied, etc. # Python allows you to make functions first class. # You can now have variables that store functions :) print( x ) # prints s.split # x now has s.split as the function x() # is the same thing as s.split() since x = s.split words = x() # We have now stored the function in a variable and invoked that function # by doing variable() print( words ) # prints s.split()