
![© SkillBrew http://skillbrew.com
References
ios
android
windows
2
platforms = ['ios', 'android', 'windows']
mobile_platforms = platforms
platforms
mobile_platforms
Both variables refer
to same list in
memory](https://image.slidesharecdn.com/pythonprogrammingessentials-m15-references-140819043206-phpapp02/75/Python-Programming-Essentials-M15-References-2-2048.jpg)
![© SkillBrew http://skillbrew.com
References (2)
ios
android
Firefox
3
platforms[2] = 'firefox‘
print mobile_platforms
['ios', 'android', 'firefox']
platforms
mobile_platforms
Both variables refer to
same list in memory](https://image.slidesharecdn.com/pythonprogrammingessentials-m15-references-140819043206-phpapp02/75/Python-Programming-Essentials-M15-References-3-2048.jpg)



Skillbrew provides online courses and tutorials on software development and programming topics. The website is created and maintained by industry experts to share their knowledge and skills. References are an important concept in programming - when a variable is assigned to an object, it refers to that object but does not represent the object itself, so changes made through one variable are reflected in others referring to the same object.

![© SkillBrew http://skillbrew.com
References
ios
android
windows
2
platforms = ['ios', 'android', 'windows']
mobile_platforms = platforms
platforms
mobile_platforms
Both variables refer
to same list in
memory](https://image.slidesharecdn.com/pythonprogrammingessentials-m15-references-140819043206-phpapp02/75/Python-Programming-Essentials-M15-References-2-2048.jpg)
![© SkillBrew http://skillbrew.com
References (2)
ios
android
Firefox
3
platforms[2] = 'firefox‘
print mobile_platforms
['ios', 'android', 'firefox']
platforms
mobile_platforms
Both variables refer to
same list in memory](https://image.slidesharecdn.com/pythonprogrammingessentials-m15-references-140819043206-phpapp02/75/Python-Programming-Essentials-M15-References-3-2048.jpg)

