Python Program Using Built In Functions And User Defined Functions