rows = 5 # reverse loop for i in range(rows, 0, -1): num = i for j in range(0, i): print(num, end=' ') print("\r")
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