Learn Python Programming Tutorial 1: Understanding and Using Variables

preview_player
Показать описание
What are variables?
Variables in Python are addresses to objects,such as numbers, strings etc.

How do variables work in Python?
Variables are created in Python by assigning a value to them
ie var_1 = 3

This means var_1 is now pointing to a number object of value 3

var_1 = "hello“
Now var_1 is pointing to a string object of value "hello“
Рекомендации по теме
Комментарии
Автор

Great introductory video.  I started learning Python recently and have been struggling a bit.  People use words whose meanings may be different to how I understand them (not being a programmer).  This video is a very simple and effective explanation of the terms used and offers clear examples. It worked for me!

SLCvids