Right angle triangle given an knteger n write a program to print a right angle triangle pattern|___
n = int(input("Enter n: ")) for i in range(0 , n): for j in range(0, i + 1): print("x", 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