Feb-16-2021, 03:34 AM
That looks more functional. I'm not sure why a "Fruit" object should have another list of fruits, or how it relates to itself, but that code should append to the list and display it.
apendng to a list within a class
|
|
Messages In This Thread |
apendng to a list within a class - by gr3yali3n - Feb-15-2021, 11:23 PM
RE: apendng to a list within a class - by bowlofred - Feb-16-2021, 12:04 AM
RE: apendng to a list within a class - by gr3yali3n - Feb-16-2021, 02:38 AM
RE: apendng to a list within a class - by bowlofred - Feb-16-2021, 03:34 AM
RE: apendng to a list within a class - by buran - Feb-16-2021, 06:30 AM
|