Print The Pattern Using Loops In Python