s='hello'
for i in range(1,6):
print s[-i]
o
l
l
e
hOn Sep 1, 12:31 pm, annet <[email protected]> wrote: > What does the -5 stand for in this line of code: > > request.env.http_host[-5] > > Kind regards, > > Annet.
s='hello'
for i in range(1,6):
print s[-i]
o
l
l
e
hOn Sep 1, 12:31 pm, annet <[email protected]> wrote: > What does the -5 stand for in this line of code: > > request.env.http_host[-5] > > Kind regards, > > Annet.