create account

Variables Assignment In Python Programming Language (2nd part) by alrashel

View this thread on: hive.blogpeakd.comecency.com
· @alrashel ·
$2.70
Variables Assignment In Python Programming Language (2nd part)
> Here I published the second part of the consecutive series about Python Programming language to learn for all.

[Python Programming Language (1st part)](https://hive.blog/hive-122108/@alrashel/python-programming-language-1st-part)

![code-1084923_1280.png](https://images.hive.blog/DQmUZ6UfTSYvnT52mhXuoTfb5LG8TXNHfJ8BVktt7zkXhAh/code-1084923_1280.png)
[Image source](https://pixabay.com/photos/code-programming-python-1084923/)

## 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](https://images.hive.blog/DQmdAyw3ZKtMaxvcvPkPmShrVSwHSV2MruNDyzU5re8foc7/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](https://images.hive.blog/DQmZvdoVStbveaZSQgBphB9EMVwULVXFYA6KcrPtRAqhiz5/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](https://images.hive.blog/DQmV2EjwDxrVfRxRF4JUv1XDnqbDkRgqAcJP6bnMRa8KVZn/pseudocode1.JPG)

### Pseudocode to code : 
Open your Python IDLE from startmenu on windows. 


![idle.png](https://images.hive.blog/DQmYujgifE7THmJMYUv9N1vzmxCSUfs6JnXuybokbWxrA9q/idle.png)

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

![userinfo.JPG](https://images.hive.blog/DQmSYfiAMBCyBuAC3dfv33mtkfsfhVFQoZjTyMoCdGXrpPu/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)
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 252 others
properties (23)
authoralrashel
permlinkvariables-assignment-in-python-programming-language-2nd-part
categoryhive-122108
json_metadata{"tags":["python","programminglanguage","education4all"],"image":["https://images.hive.blog/DQmUZ6UfTSYvnT52mhXuoTfb5LG8TXNHfJ8BVktt7zkXhAh/code-1084923_1280.png","https://images.hive.blog/DQmdAyw3ZKtMaxvcvPkPmShrVSwHSV2MruNDyzU5re8foc7/variables.JPG","https://images.hive.blog/DQmZvdoVStbveaZSQgBphB9EMVwULVXFYA6KcrPtRAqhiz5/variables2.JPG","https://images.hive.blog/DQmV2EjwDxrVfRxRF4JUv1XDnqbDkRgqAcJP6bnMRa8KVZn/pseudocode1.JPG","https://images.hive.blog/DQmYujgifE7THmJMYUv9N1vzmxCSUfs6JnXuybokbWxrA9q/idle.png","https://images.hive.blog/DQmSYfiAMBCyBuAC3dfv33mtkfsfhVFQoZjTyMoCdGXrpPu/userinfo.JPG"],"links":["https://hive.blog/hive-122108/@alrashel/python-programming-language-1st-part","https://pixabay.com/photos/code-programming-python-1084923/"],"app":"hiveblog/0.1","format":"markdown"}
created2020-04-12 07:08:42
last_update2020-04-12 07:08:42
depth0
children7
last_payout2020-04-19 07:08:42
cashout_time1969-12-31 23:59:59
total_payout_value1.362 HBD
curator_payout_value1.336 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,122
author_reputation2,707,464,674,673
root_title"Variables Assignment In Python Programming Language (2nd part)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,808,105
net_rshares9,105,723,896,422
author_curate_reward""
vote details (316)
@balman ·
Thank you for sharing this information. I often have trouble completing my programming assignment so I'm grateful for any advice that can help with this. I found a company that specializes in such assignments and it was a godsend for me https://www.programmingassignment.net/  Thanks to this, I got a good grade and significantly improved my academic performance.
properties (22)
authorbalman
permlinkr9klef
categoryhive-122108
json_metadata{"links":["https://www.programmingassignment.net/"],"app":"hiveblog/0.1"}
created2022-03-30 18:15:51
last_update2022-03-30 18:15:51
depth1
children0
last_payout2022-04-06 18:15:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length363
author_reputation-10,704,803,437
root_title"Variables Assignment In Python Programming Language (2nd part)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id111,832,258
net_rshares0
@hiveblogger ·
Great πŸ‘πŸ‘Œ
properties (22)
authorhiveblogger
permlinkre-alrashel-2020412t142238487z
categoryhive-122108
json_metadata{"tags":["python","programminglanguage","education4all"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"}
created2020-04-12 08:22:39
last_update2020-04-12 08:22:39
depth1
children0
last_payout2020-04-19 08:22:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length8
author_reputation84,840,097
root_title"Variables Assignment In Python Programming Language (2nd part)"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,808,516
net_rshares0
@jeremee ·
Thank you for sharing!
properties (22)
authorjeremee
permlinkr91lyd
categoryhive-122108
json_metadata{"app":"hiveblog/0.1"}
created2022-03-20 12:13:30
last_update2022-03-20 12:13:30
depth1
children0
last_payout2022-03-27 12:13:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length22
author_reputation-8,090,235,877
root_title"Variables Assignment In Python Programming Language (2nd part)"
beneficiaries
0.
accounthiveonboard
weight100
1.
accounttipu
weight100
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id111,519,957
net_rshares0
@magicmonk ·
@tipu curate
πŸ‘  
properties (23)
authormagicmonk
permlinkre-alrashel-q8okpk
categoryhive-122108
json_metadata{"tags":["hive-122108"],"app":"peakd/2020.03.14"}
created2020-04-12 15:08:12
last_update2020-04-12 15:08:12
depth1
children1
last_payout2020-04-19 15:08:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length12
author_reputation1,108,074,464,378,542
root_title"Variables Assignment In Python Programming Language (2nd part)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,812,395
net_rshares492,569,844
author_curate_reward""
vote details (1)
@tipu ·
<a href="https://tipu.online/hive_curator?magicmonk" target="_blank">Upvoted  &#128076;</a> (Mana: 0/18)
properties (22)
authortipu
permlinkre-re-alrashel-q8okpk-20200412t150827
categoryhive-122108
json_metadata""
created2020-04-12 15:08:27
last_update2020-04-12 15:08:27
depth2
children0
last_payout2020-04-19 15:08:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length104
author_reputation55,922,745,798,079
root_title"Variables Assignment In Python Programming Language (2nd part)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,812,401
net_rshares0
@rayansmith ·
Thanks!
properties (22)
authorrayansmith
permlinks6olj3
categoryhive-122108
json_metadata{"app":"hiveblog/0.1"}
created2024-01-03 10:37:51
last_update2024-01-03 10:37:51
depth1
children0
last_payout2024-01-10 10:37:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7
author_reputation-43,847,982
root_title"Variables Assignment In Python Programming Language (2nd part)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id130,186,879
net_rshares0
@rayansmith · (edited)
Thank you for sharing the second part of your Python programming series! Your explanation of variables and assignments is clear and concise, making it accessible for learners. I usually turn to https://assignmentbro.com/ca/assignment-writing-services for help with my tasks. The real-life scenario and corresponding pseudocode add a practical touch to the lesson, facilitating better comprehension. Keep up the good work, and your commitment to sharing knowledge is truly appreciated! If you continue producing content like this, you'll undoubtedly be a valuable resource for those learning Python.
properties (22)
authorrayansmith
permlinks6oljb
categoryhive-122108
json_metadata{"app":"hiveblog/0.1","links":["https://assignmentbro.com/ca/assignment-writing-services"]}
created2024-01-03 10:38:00
last_update2024-01-03 10:59:36
depth1
children0
last_payout2024-01-10 10:38:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length598
author_reputation-43,847,982
root_title"Variables Assignment In Python Programming Language (2nd part)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id130,186,883
net_rshares0