1
In this case, the objective of the program was to make a half pyramid, as many floors as the user wanted to build, however, he wanted to use the 'for' command to accomplish this goal.
quant = int(input('Quantos andares você quer que tenha a meia pirâmide? '))
while quant >= 1:
print('* ' * quant, end ='')
print('')
quant -= 1
>>> Quantos andares você quer que tenha a meia pirâmide? 4
* * * *
* * *
* *
*