#P0005. 10行杨辉三角数列
10行杨辉三角数列
1. Description
Print top 10 rows in Pascal's Triangle. Complete the rows placeheld by "..." based on the Pascal's Triangle's definition
2. Input & Output
Input:
- No input for this problem
Output:
- Multiple lines of string
- Use
print()for your output
Example
# Input:
# Output:
1
1-1
1-2-1
1-3-3-1
...
1-9-...-9-1