Value Returning Function In Python Syntax Checker