Variables and Strings - Python beginner course

Pythonintro attribute to <a href="https://www.freepik.com/free-photos-vectors/business">Business vector created by freepik - www.freepik.com</a>

image attribution here

Finally, we started our first lesson, the Variables, and String. 

Long story short, variable is used in investment as a symbol of stored values or number. Can we imagine if we do not have liberty in giving up all the name of variables? It will be totally horrible. 

So how to use a variable in the Python? 

First of all typing hello world 

If we want directly print a hello world then it could be

print("Hello world!")

If we want to put hello world in a variable 

variableA = "Hello world!"
print(variableA)

How about concatenation or combination

car_type = "sport"
car_cylinder = 4
car_specs = car_type + "with" + car_cilinder + "cylinder"
print(car_specs)

How to see it in implementation. Check this video. 

Further explanation is below : 

Next one 

News

Zakrzowek, the hidden gems for parents and kids in the south of Krakow

Recent news

View this post on Instagram

A post shared by @52parksinayear

read more
1 week, 6 days ago

Jalan jalan ke peternakan madu di Polandia

Recent news

Generic placeholder image

Thanks for stopping by. All the information here is curated from the most inspirational article on the site.

read more
1 month, 2 weeks ago

Kreativitas dalam pikiran anak anak

Recent news
5 months, 2 weeks ago

Panel data - 2 - simple example of pooled cross section across years

Recent news
5 months, 3 weeks ago

Panel data - 1 - an Intro

Recent news
5 months, 3 weeks ago

Kim Kardashian West has filed for divorce from Kanye West

Recent news

Reported from CNN, Kim Kardashian West has filed for divorce from Kanye West, a court clerk for Los Angeles Superior Court confirmed to CNN on Friday.

read more
7 months, 1 week ago

Formula in finding the area of a circle

Recent news

What is a circle and what the formula to find them? 

read more
8 months ago

Indonesian book for kids

Recent news

Indonesian books for kids

read more
8 months ago

Riddles

22nd Jul- 2020, by: Editor in Chief
524 Shares 4 Comments
Generic placeholder image
524 Shares 4 Comments

Economics

Generic placeholder image
10Aug- 2019, by: Editor in Chief
425 Shares 4 Comments

More News »

Generic placeholder image

Thanks for stopping by. All the information here is curated from the most inspirational article on the site.