AVASOFT Interview Question

Python code for printing first n numbers