YOU SAID:
Pascal’s triangle is a triangular array of the binomial coefficients. Write a function that takes an integer value n as input and prints first n lines of the Pascal’s triangle. Following are the first 6 rows of Pascal’s Triangle.
INTO JAPANESE
パスカルの三角形は二項係数の三角形の配列です。入力として整数値 n を受け取り、Pascal の三角形の最初の n 行を出力する関数を記述します。パスカルの三角形の最初の6行を次に示します。
BACK INTO ENGLISH
Pascal's triangle is an array of binary coefficient triangles. Write a function that takes an integer value of n as input and outputs the first n-line of the Pascal triangle. The first six lines of Pascal's triangle are:
INTO JAPANESE
パスカルの三角形は、二項係数三角形の配列です。入力として n の整数値を受け取り、パスカル三角形の最初の n 行を出力する関数を記述します。パスカルの三角形の最初の6行は次のとおりです。
BACK INTO ENGLISH
Pascal's triangle is an array of binary coefficient triangles. Write a function that takes an integer value of n as input and outputs the first n-line of the Pascal triangle. The first six lines of Pascal's triangle are:
You've done this before, haven't you.