KPIT Technologies interview question

Print 1 to 10 except 7