Indycium Interview Question

simple pattern program in python