Second-Hacktoberfest-Problem

Print all type of star patterns with minimum lines of codes.