Now we know what the data types are. A variable is basically something that contains another value, for example in the code i have shown in the image i say x = 100, this means x has a value of 100. A variable can be called anything really except for words that are used in python, for example if you made a variable called True, it wouldnt be advised as True is used already. Now lets make a variable for each data type like i have shown in the image.
6
26 reads
CURATED FROM
IDEAS CURATED BY
Keep reading, keep studying, the more you learn the more you change. If you are doing the Python lessons please join this discord channel https://discord.gg/kugXx9KY but please follow the rules
Similar ideas to Learning Python: What is a variable
In this part we will be going over more on variables and printing them.
So let's make a variable and give it the value of 10, so it should look something like this X = 10, X could be any word really just not a reserved word, here is a link to a website with alot of reserved words that can't...
The first thing we need to consider when starting to learn a programming language, is what shall we use. There are a few things we can use, for example python IDLE, pycharm, VS code, notepad++, anaconda or Google Colab.
For these lessons I would recommend pycharm. But first we need to insta...
A variable is an element, feature, or factor that can be measured or quantified. It represents a concept that can vary and is essential for data collection and analysis in research.
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates