I am a Software Developer. I love code and building software solutions. I am the Department leader for Machine Learning and Data Science department on campus
Thank you for pointing that out. Indeed the function would'nt be called. Without the brackets we'll just get where the function is stored in memory but won't access the result.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Just small correction. Function name does not not make a call. Instead it is just the reference. You make the call by adding parenthensis.
Try to create the list of functions and than call the function at position 1. List will contain only names. It will look like this:
Thank you for pointing that out. Indeed the function would'nt be called. Without the brackets we'll just get where the function is stored in memory but won't access the result.