Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: A list of lists
Post: RE: A list of lists

(Feb-25-2019, 04:34 PM)ichabod801 Wrote: (Feb-25-2019, 04:23 PM)Hassediagram Wrote: But why didn't it work in my program ? I don't know. Your code is really hard to read and very complicated, I ju...
Hassediagram General Coding Help 7 130,170 Feb-25-2019, 04:35 PM
    Thread: A list of lists
Post: RE: A list of lists

(Feb-25-2019, 04:14 PM)ichabod801 Wrote: As Larz said, this functionality is all covered in Python. But if you need to recreate it for homework, to get the subsets, start with a list of the empty se...
Hassediagram General Coding Help 7 130,170 Feb-25-2019, 04:23 PM
    Thread: A list of lists
Post: RE: A list of lists

(Feb-25-2019, 03:40 PM)Larz60+ Wrote: python has lists x = [1,2,3] and sets x = {1,2,3} plus all set operations see: https://docs.python.org/3.7/library/stdt...-frozenset aslo see itertools for per...
Hassediagram General Coding Help 7 130,170 Feb-25-2019, 04:13 PM
    Thread: A list of lists
Post: A list of lists

Dear members of python-forum, I encounter a problem of list definition (i think). I would like to define def(S,T), where: (i) S and T are two sets (lists in Python) and such that S is a subset of T. ...
Hassediagram General Coding Help 7 130,170 Feb-25-2019, 01:38 PM
    Thread: Automatic redefining
Post: RE: Automatic redefining

Message deleted; i am opening a new topic.
Hassediagram General Coding Help 5 3,305 Feb-25-2019, 01:36 PM
    Thread: Automatic redefining
Post: RE: Automatic redefining

Dear members of python-forum, I have another problem. I think it is linked to the one i had last year (above). I want to define a def(S,T), where: (i) S and T are two sets (lists in Python) and such...
Hassediagram General Coding Help 5 3,305 Feb-25-2019, 09:39 AM
    Thread: Automatic redefining
Post: RE: Automatic redefining

Dear Lewis, Yes I have defined n globally in the code before. Thank you for your remark. Dear j.crater, Great ! It works. Thank you very much for your help; problem solved !
Hassediagram General Coding Help 5 3,305 May-12-2018, 04:43 PM
    Thread: Automatic redefining
Post: Automatic redefining

Dear Python-forum members, I have registered to this forum because i have a small but resistant problem. It is surely trivial, but i have not practiced Python for a long time and i don't remember th...
Hassediagram General Coding Help 5 3,305 May-12-2018, 04:19 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020