Hema interview question

How can you fix the bug in python?