Spaces and Stars problem in Pattern 19

Can You please help me with Pattern 19:

I’m facing an issue in this please check this and help me getting the necessary pattern

Please share your code that takes in user input of n and then prints the pattern. I’ll be able to help you out then