Re: [Tutor] Variable Question

2016-11-18 Thread Alan Gauld via Tutor
On 18/11/16 21:00, Bryon Adams wrote: > Fedora 24. I take four strings and create a list of them. In my below > code, if I print out prefix and as_path, both give me the same Because they are the same. They are both references to entries. > included the output below). What causes this behavior?

[Tutor] Variable Question

2016-11-18 Thread Bryon Adams
Hello, Variable throwing me off in a script I'm running on Python3.5, on Fedora 24. I take four strings and create a list of them. In my below code, if I print out prefix and as_path, both give me the same (I included the output below). What causes this behavior? Is this just how Python is h