quant = int(input('Quantos andares você quer que tenha a meia pirâmide? '))
print('')
for n in range(quant, 0, -1):
print('* ' * n)
#https://pt.stackoverflow.com/q/467812/101
cXVhbnQgPSBpbnQoaW5wdXQoJ1F1YW50b3MgYW5kYXJlcyB2b2PDqiBxdWVyIHF1ZSB0ZW5oYSBhIG1laWEgcGlyw6JtaWRlPyAnKSkKcHJpbnQoJycpCmZvciBuIGluIHJhbmdlKHF1YW50LCAwLCAtMSk6CiAgICBwcmludCgnKiAnICogbikKCiNodHRwczovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvNDY3ODEyLzEwMQ==