python - Print a list in reverse order with range()? -
How do you create the following code with the itemprop = "text"> this is very If you want to make it a list (as BTK has said): Update: If you want to use only For example, to generate a list, This may be less intuitive, but the comments As mentioned, this is the use of more efficient and correct category for reverse list. category () in Python? [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
function:
reverse (category (10))
List (
category to get the same result You can use all your parameters
(For example, stop, phase)
[5,4,3,2,1,0] You can use the following:
category (5, -1, -1)
Comments
Post a Comment