I need the last 9 numbers of a list and I’m sure there is a way to do it with slicing, but I can’t seem to get it. I can get the first 9 like this:

num_list[0:9]

5 Answers
5

Leave a Reply

Your email address will not be published. Required fields are marked *