Fix markup.
This commit is contained in:
parent
edae0ba0b1
commit
bec290b671
|
@ -193,12 +193,12 @@ Alternative original code reversed in multiple steps::
|
||||||
for value in rseqn:
|
for value in rseqn:
|
||||||
print value
|
print value
|
||||||
|
|
||||||
Alternative original code expressed with extending slicing:
|
Alternative original code expressed with extending slicing::
|
||||||
|
|
||||||
for value in seqn[::-1]:
|
for value in seqn[::-1]:
|
||||||
print value
|
print value
|
||||||
|
|
||||||
Revised code using the ``reversed`` function:
|
Revised code using the ``reversed`` function::
|
||||||
|
|
||||||
for value in reversed(seqn):
|
for value in reversed(seqn):
|
||||||
print value
|
print value
|
||||||
|
|
Loading…
Reference in New Issue