Code For Print Pattern In Python