Pascal Triangle 1

Given an integer N, print Pascal Triangle upto N rows.
please check my code and tell me whats the error in comments and do correct it

corrected code:


just had spacing error
if this solves your doubt please mark it as resolved :slight_smile: