2
I wanted to stop the loop when t is at 5. So I counted -1, but it does not go back to while
to check the condition and turns a loop infinite.
text = 'abcdefghij'
t = 10
while t != 5:
for i in text:
print(i)
t -= 1
print(t)
´´´´