Nimap infotech interview question

Basics of python and 2 basic codes.