Display The Pattern In Python