Numeric Function In Python Practice