What will be the output of the following code:
n = 3
for i in range(n):
for j in range(n-i):
print(j+1, end="")
print()
Options:
a)123
12
1
b)321
21
1
c)123
23
3
d) None of the above
Answer:
Answer by student
a) 123
The rest of the post is locked. Join Teachoo Black to see the full post.