Python Program to solve Tower of Hanoi

Output: