Hello guys!! This is other level compared to patterns. With slight difficulty but actually it is combination of patterns with functions. By modifying pyramid patterns, I finally got pascal triangle. But there are other efficient ways to do this, but this is the easiest way but not very fast compared to other ways.