Write A Python Implementation For A Recursive Ternary

Write A Python Implementation For A Recursive Ternary