I'm currently studying Python, and I've encountered something I don't understand. What I want to do is:
- I have variables
a,b,c, and I want to assign a dictionaryk={'sd':'asd', 'we':'qwe'}, so I typed like this:
a=k
b=k
c=k
- And if I edit
alike,a['are']='friend', I found out thatbandcalso hasarekey even though I only edita.
I don't understand cuz I a, b, and c are all different variable, and how they are "linked" each other..? And what should I do for what I supposed to do?