Internshala interview question

Error in Python program and create a project using pyqt.