20
What is the output of the following code?
count = 0
n = 5
for i in range(n):
for j in range(i):
count += 1
print(count)Easy
What is the output of the following code?
count = 0
n = 5
for i in range(n):
for j in range(i):
count += 1
print(count)Log in to join the discussion.