Ecesis Interview Question

Number pattern program in python