Related resources for function in Python