Opening the paper…
What is printed by the following program?
for i in range(2, 0, -1): print(i * "ab")
What is printed by the following program? for i in range(2, 0, -1): print(i * "ab") What will be the output of the code below? for i in range(4): print("#" * (i + 1)) Run the program in your head. What is the output? for i in range(5): for j in range(2): print(i + j, end=" ") print()