fork download
  1. text = 'abcdefghij'
  2. t = 10
  3. while t > 5:
  4. print(text[10 - t])
  5. t -= 1
  6. print(t)
  7.  
  8. #https://pt.stackoverflow.com/q/444294/101
Success #stdin #stdout 0.03s 9048KB
stdin
Standard input is empty
stdout
a
9
b
8
c
7
d
6
e
5