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:
++++
+++++
++++++
+++++++
++++++++
Last updated at April 16, 2024 by Teachoo
Answer:
Output:
++++
+++++
++++++
+++++++
++++++++