Write python code to draw following pattern:
4
3 4
2 3 4
1 2 3 4
Answers
Answered by
0
def pattern(n):
for i in range(1, n):
for j in range(1, i + 1):
print(j, end= " ")
print("\r")
pattern(5)
Is it ok
Similar questions