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

Potongan cerita pendek - kelas kosong masa SMA yang mengingatkanku pada dirinya

Recent news

Cerita ini fiksi belaka, kemiripan dengan kejadian sesungguhnya hanyalah kebetulan, atau dirimu memang ingin membuatnya kebetulan 😅

read more
2 days, 19 hours ago

Apa kepanjangan kwk di c plano pilkada

Recent news

Dalam konteks formulir C Plano pada Pilkada, singkatan “KWK” berarti “Kepala Wilayah Kerja”. Formulir C1-KWK Plano adalah catatan hasil penghitungan suara di Tempat Pemungutan Suara (TPS) yang digunakan dalam Pemilihan Kepala Daerah dan Wakil Kepala Daerah. Formulir ini mencatat secara rinci perolehan suara di setiap TPS dan merupakan bagian penting dalam proses rekapitulasi suara.

read more
6 days, 23 hours ago

What is department of Government efficiency

Recent news

The **Department of Government Efficiency (DOGE)** is a proposed initiative by President-elect Donald Trump, aiming to streamline federal operations and reduce wasteful spending. Announced on November 12, 2024, the department is set to be co-led by tech entrepreneur Elon Musk and former Republican presidential candidate Vivek Ramaswamy.

read more
1 week, 3 days ago

Who Kyle Singler

Recent news

Kyle Singler is a former professional basketball player known for his collegiate success at Duke University and his tenure in the NBA.

read more
1 week, 3 days ago

Who is Pete Hegseth

Recent news

Pete Hegseth is an American television host, author, and Army National Guard officer, recently nominated by President-elect Donald Trump to serve as the United States Secretary of Defense.

read more
1 week, 3 days ago

Who is Anne Applebaum

Recent news

Anne Applebaum is a renowned journalist, historian, and author whose works delve into some of the most pressing and complex topics of the modern era. Her expertise lies in examining the intricacies of authoritarian regimes, the rise of populism, and the fragility of democratic institutions. Her Pulitzer Prize-winning book, "Gulag: A History," offers an in-depth exploration of the Soviet labor camp system, shedding light on the human suffering and ideological underpinnings of one of the 20th century’s most oppressive systems.

read more
1 week, 3 days ago

What is Plexity AI and how it can help us to see our civilization in the future?

Recent news

Plexity AI is a marvel of our times—a confluence of technological ingenuity and the boundless hunger for understanding. At its core, Plexity AI represents an advanced synthesis of artificial intelligence and machine learning, built not merely to mimic thought but to empower it. Unlike earlier iterations of AI, which focused on specialized tasks or data crunching, Plexity seems designed to operate as an expansive intellectual partner, capable of untangling the Gordian knots of complexity that define the modern era.

read more
1 week, 3 days ago

template for tanya jawab wifi

Recent news

Pertanyaan kali ini adalah 

read more
2 months, 1 week 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.