Pattern printin

how to print this pattern using the for loops pls write the code for this pattern for if the user input the number five?
5
54
543
5432
54321

for this u have to do three things
first traverse the row for n=5 there are 5 rows
then traverse the column column is increasing to 1 to n
then printing
printing is like
first
n
then
n,n-1
then
n,n-1,n-2
like that
Think for these 3 cases if problem persist i will gave u code

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.