V
V
Vofanchik2021-07-17 15:15:57
Python
Vofanchik, 2021-07-17 15:15:57

How to output every 5 elements of a list (python)?

There is a list of 100 values. What is the easiest way to create a new list of lists, where each list would consist of 5 values ​​of the original list?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question