Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: An array "mystery": The same array, the same operations but different outcomes
Post: RE: An array "mystery": The same array, the same o...

I can see now. Thank you!!
mewss General Coding Help 3 2,161 Feb-17-2021, 06:34 PM
    Thread: An array "mystery": The same array, the same operations but different outcomes
Post: RE: An array "mystery": The same array, the same o...

(Feb-17-2021, 06:20 PM)bowlofred Wrote: The initial arrays are not the same. The first one creates a list, then puts several references to that list in another list. There's only two list objects ...
mewss General Coding Help 3 2,161 Feb-17-2021, 06:34 PM
  Shocked Thread: An array "mystery": The same array, the same operations but different outcomes
Post: An array "mystery": The same array, the same opera...

I wrote the following code, where two identical arrays h and h1 are defined in different ways. Then I produce the same operations on them and print the modified arrays. To my surprise, the outcome is ...
mewss General Coding Help 3 2,161 Feb-17-2021, 05:34 PM

User Panel Messages

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