10times interview question

Print a right angled triangle with dynamic input