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:
++++
+++++
++++++
+++++++
++++++++
Get live Maths 1-on-1 Classs - Class 6 to 12
Last updated at March 28, 2023 by Teachoo
Answer:
Output:
++++
+++++
++++++
+++++++
++++++++
Get live Maths 1-on-1 Classs - Class 6 to 12