Variables Assignment In Python Programming Language (2nd part)

@alrashel · 2020-04-12 07:08 · Education

Here I published the second part of the consecutive series about Python Programming language to learn for all.

Python Programming Language (1st part)

code-1084923_1280.png Image source

Variables and Assainment:

The main task of a computer program is to store values and perform specific operations on those values. To store value we assign variables. In Python, the variable is created when we assign a value to it. So we can say variables are memory locations. Python Interpreter allocates memory locations as variables names based on the data type.

variables.JPG

Python variables names are case sensitive. For example - age, Age are two different variables. Variable names can’t start with a digit. It can contain letters, underscore and digits. When we assign a variable we use '=' sign, remember this sign(=) doesn't mean mathematically equal.

variables2.JPG

Real-life Scenario

Problem :

User's information collection and show the values

Task :

Write down the procedure step by step (Pseudocode)

pseudocode1.JPG

Pseudocode to code :

Open your Python IDLE from startmenu on windows.

idle.png

Type on your Python IDLE and try to understand what happens one by one.

userinfo.JPG

I hope you understand the topic today. If I get your support, I will consider myself a good fit.

Next Topic

Python Keywords and Identifiers (3rd part)

#python #programminglanguage #education4all
Payout: 0.000 HBD
Votes: 316
More interactions (upvote, reblog, reply) coming soon.