n = int(input()) for i in range(1, n+1): print(' '*n, end='') # repet space for n times print('* '*(i)) # repeat stars for i times n-=1
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment