Hema Interview Question

How can you fix the bug in python?