Is it possible to append spaces and a certain amount of spaces to a string? : <p>Here is my current code. The question is exactly in the title. (I'm looking to be able to align my triangle correctly) </p>

<pre><code>def Triangle(height):
    if height % 2 == 0:
        print "Please enter a height that is odd"

    else:
        stringTriangle = "x"
        for x in range(height):
            print stringTriangle
            for x in range(1):
                stringTriangle+="xx"
</code></pre>
