To Display The Pattern In Python