num_rows = int(input('Please enter the number of rows: '));
for i in range (0,num_rows):  
    for j in range (num_rows,i,-1):  
        print("* ", end="")
    print()
     
           
Note: Need to be arranged in compiler after copied
   

 OutPut:

Please enter the number of rows: 5
* * * * *
* * * *
* * *
* *
*