Predict the output of the following code?
for i in range(6):
for j in range (5):
If (i + 1==j or j+i== 4):
print(“+”, end="")
else:
print (“0”, end="")
print()
Answer:
Output:
0+00+
00++0
00++0
0+00+
+0000
00000