HF RL Explorer

Task: Get a Function Name as a String in Python

Task: Get a Function Name as a String in Python: a task in Terminal-Lego-15k (Harbor dataset). In Python, you need to implement a utility function that retrieves a function's name as a string. Given any function object, your solution should return the name of that function.

The task

In Python, you need to implement a utility function that retrieves a function's name as a string. Given any function object, your solution should return the name of that function.

Part of PrimeIntellect/Terminal-Lego-15k.