number pattern in python using for loop

welcome to shbcf.ru