0% found this document useful (0 votes)
5 views1 page

Lesson 2

This document introduces Python as a popular programming language known for its ease of learning and extensive libraries that facilitate various applications. It explains that Python serves both as a programming language and a tool for executing programs. Additionally, it emphasizes the importance of libraries in Python, likening them to pre-packaged ingredients that simplify the programming process.

Uploaded by

bssnbhkshfhjf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Lesson 2

This document introduces Python as a popular programming language known for its ease of learning and extensive libraries that facilitate various applications. It explains that Python serves both as a programming language and a tool for executing programs. Additionally, it emphasizes the importance of libraries in Python, likening them to pre-packaged ingredients that simplify the programming process.

Uploaded by

bssnbhkshfhjf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

💡 Python

In this course, you are learning a programming language named Python. However,
there are many programming languages out there. You might be wondering why Python
is a good language to learn if there are so many options.

First, Python is one of the most popular languages in the world; in fact, according
to some metrics, it might be THE most popular programming language in the world.
Second, it has a huge number of libraries that make it useful for a wide range of
problems in scientific computing, data science, web development, and much more.
Third, it is sometimes called a "friendly" language for beginners, because many
people have found it easier to learn than other languages despite being so
powerful.

What are libraries?


Libraries in Python are like treasure chests full of useful tools and functions
that make your programming life easier. They are pre-written code collections
created by other programmers to solve common problems or provide extra
functionality. Instead of starting from scratch and writing everything yourself,
you can use these libraries to save time and effort.
Imagine you want to prepare a delicious meal, but you don't have all the
ingredients and tools necessary. Instead of making everything from scratch, you can
rely on a variety of pre-packaged ingredients and kitchen gadgets. Python libraries
work in a similar way. They provide you with ready-made ingredients (functions and
tools) that you can use to cook up amazing programs without starting from scratch.

Python is a Language and a Tool


Python is two things:

Python is a programming language.


Python is a tool that runs programs.
First, as a programming language, Python is a set of rules for writing Python
programs. Second, Python is also a program that can execute programs written
according to the rules of the Python programming language. Therefore, we will
sometimes refer to Python as a language, and sometimes refer to Python as a tool
for running programs. Before we explain what it means to run a program, let us talk
about programming languages a little more.

Check Your Understanding


You have answered 0/1 questions on this page. To complete this page, review and
answer the remaining questions below. These questions have a "Try Again", "Submit
Answer", or "Check answer" button below them.

You might also like