[Python] How to make lists of a list's elements?

Discussão em 'Python' iniciado por Stack, Janeiro 26, 2025.

  1. Stack

    Stack Membro Participativo

    I want to make more lists those should be stored in the variables and the names of those variables should be that of elements of the main list. Like this: lst = [a,b,c] a = [] b = [] c=[] The main list might contain any number of elements.

    Continue reading...

Compartilhe esta Página