python - Print a list in reverse order with range()? -


How do you create the following code with the category () in Python? [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]

function:
  reverse (category (10))   

itemprop = "text">

this is very

If you want to make it a list (as BTK has said):

  List (  

Update:

If you want to use only category to get the same result You can use all your parameters (For example, stop, phase)

For example, to generate a list, [5,4,3,2,1,0] You can use the following:

  category (5, -1, -1)   

This may be less intuitive, but the comments As mentioned, this is the use of more efficient and correct category for reverse list.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -