Python tutorial: Basic part #4 (STRING AND VARIABLES)

in #coding8 years ago

Welcome all my steemitian lovely friends this is the next part of python tutorial and as I had promised I tried it to make a simple as possible and also give step by step explanation.

Here in this part, we do talk about to create the string and also how we can assign some information to a variable and also try to understand how to add two words to a program. and also we do understand what is a difference between string and variable.
put word to variable.png

WE DO TAKE IN OF VARIABLE IN THIS WAY

stud="vikash"
stud1="rajat"
stud2="vishal"

so here we had taken three input stud, stud1, stud2

and assign a words to variable instead of number.

if take a look if assign value of a number.

a=13
b=14

here we even not use any "" sign.

lets call the value of variable.

stud
'vikash'
stud1
'rajat'
stud2
'vishal'
a
13
b
14

so as you can see all the value we assign are taken by our program.

congratulation you are a programer.

Stay connected with me and i will be soon come up with its next part. how may my small effort bring a positive change to this plateform and also add some value to this plateform.

National_Thank_You_Day.png

Sort:  

You are doing good job, Just started learn coding, Its really helpful for me @funatoz

thank you for the post. I started to learn phyton this week and I am searching tutorial thank you again.

Thank you sir for shayaring this

This post has received a 3.40 % upvote from @aksdwi thanks to: @funatoz.

You got a 1.09% upvote from @postpromoter courtesy of @funatoz!

Want to promote your posts too? Check out the Steem Bot Tracker website for more info. If you would like to support the development of @postpromoter and the bot tracker please vote for @yabapmatt for witness!

This post has received gratitude of 1.01 % from @appreciator thanks to: @funatoz.

This post has received a 1.67 % upvote, thanks to: @funatoz.

This post has received a 2.69 % upvote from @getboost thanks to: @funatoz.

Coin Marketplace

STEEM 0.05
TRX 0.33
JST 0.079
BTC 63789.74
ETH 1693.74
USDT 1.00
SBD 0.41