Computer Science, asked by sgar31727, 19 hours ago

how can we print an order list in reserved order ?​

Answers

Answered by Mrkrunalback
0

Answer:

Reversing a list in-place with the list. reverse() method. Using the “ [::-1] ” list slicing trick to create a reversed copy. Creating a reverse iterator with the reversed() built-in function.

Answered by locel7802
1

the reversed attribute is a boolean attribute and does not any vаluе but help accept any value but helps is in printing the list in a reserved order

For example- <ol start = "5 "reversed'>

using the above syntax the first ordered list will be be numbered as S and the numbering will be done un descending order.

hope it's helpful to you

Similar questions