Python Program Using Recursive Function