Well, you wanted some tips, so here are a few thoughts on it. You know that you have to create the correct number of rows, you have that part. Now, you need to think about how to create the spaces and hashes.
Well, break it down into smaller and smaller parts. You need to think about how to build a given row. OK, that's a smaller part. What is a row? It's a series of spaces followed by a series of hashes. So now, you have two smaller chunks to think about - how to print the correct number of spaces on a row and how to print the correct number of hashes on a row.
Now, think about how to do each of those parts as an independant block of code. To get there, think about what a 1 line pyramid looks like, then a 2 line, then 3. Think about the relationships between the number of spaces, the number of hashes, the current line number and the total height. Using all that, figure out which are related and the relationships between them. That will give you the generic formulas.
OK, those are some big hints. If that's not enough, try coding for just the hashes and add the spaces after you get that working. Also, temporarily print 'x' or something else instead of spaces for clarity. It's a lot easier to count characters than spaces!
Lots of hints, pretty much a roadmap. This should get you going!
If this answers your question, please accept this answer to remove the question from the unanswered question pool. Let's keep up on forum housekeeping. ;-)