Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: [HELP] Function that changes its entrances
Post: RE: [HELP] Function that changes its entrances

(Aug-07-2020, 09:03 PM)deanhystad Wrote: This does not make a copy of the list, it makes two variables that both point to the same list. a = [1, 2, 3] b = a print(id(b), id(a))Output:2504484054272 2...
Liquid Homework 6 2,523 Aug-07-2020, 09:47 PM
    Thread: [HELP] Function that changes its entrances
Post: [HELP] Function that changes its entrances

Hello everyone, I struggle with a python code. I found the problem and reproduced the condition of its occurence in the following lines: def PLS(A): B = A B[0] = B[2] return(B) A =...
Liquid Homework 6 2,523 Aug-07-2020, 08:14 PM

User Panel Messages

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