Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

jhon asked in PetsReptiles · 2 months ago

What is slicing in Python?

2 Answers

Relevance
  • 2 months ago

    cut the snack in to Peices.

  • 2 months ago

    taking a data structure and cutting it into sections. for eg:

    liszt = [1,2,3]

    liszt= liszt[0:1]

    print(liszt)

    ---x---output

    [1,2]

    you just sliced the list

Still have questions? Get your answers by asking now.