What will be the output of the following code?
for i in range (5, 10):
for b in range (1, i):
print (‘+’, end="")
print()
Answer:
Output:
++++
+++++
++++++
+++++++
++++++++
Learn in your speed, with individual attention - Teachoo Maths 1-on-1 Class