Welcome to Python Fundamentals Level 1 Professional! In this module, you will learn what Python is, why people use it, how it works, and the different things you can create with it. You do not need any programming experience to understand this lesson.
By the end of this module, you should be able to:
Programming is the process of giving instructions to a computer so that it can perform specific tasks.
Think about how you follow instructions when preparing a meal. Someone might tell you to:
These are instructions arranged in a particular order. A computer also needs instructions to perform tasks. Programming is how we create those instructions.
Python is a popular programming language used to give instructions to computers. It allows people to write programs that solve problems and perform useful tasks.
Python is known for having a simple and readable style. This makes it a good programming language for beginners who are learning how to code for the first time.
For example, you can use Python to tell a computer to display a welcome message:
print("Welcome to Python!")
When this instruction runs, the computer displays:
Welcome to Python!
The print() instruction tells Python to display information on the screen. You will learn more about it in a later module.
Python is used by beginners, students, software developers, researchers, businesses and technology companies. Here are some reasons why it is popular:
Python code often looks similar to ordinary English. This makes it easier for beginners to understand what a program is doing.
Python can be used for website development, data analysis, artificial intelligence, automation, cybersecurity and many other technology tasks.
Many people around the world use Python. This means learners can find tutorials, learning materials, examples and answers to common programming questions.
Python is free to download and use. Its source code is also available for people to study and contribute to.
Python is not just for writing small programs. It can be used to build real-world technology solutions.
Python can help developers create websites and web applications. For example, a developer could use Python to build a school management system where students can check their results.
Data analysts use Python to organise, examine and understand data. A school could use Python to analyse students' examination scores and identify the subjects where students perform best.
Python is widely used in artificial intelligence projects. It can help developers build systems that recognise images, understand text and make predictions from data.
Automation means using technology to perform tasks with little or no repeated manual effort.
For example, Python can help a business organise hundreds of files, create reports or process information automatically.
Cybersecurity professionals can use Python to automate security checks, examine computer logs and analyse suspicious activities. These activities should always be performed legally and with proper permission.
Python can also be used to create simple computer games, such as number guessing games, quizzes and educational games.
Python is used by people working in different industries and technology careers.
A programming language is a language used to write instructions that a computer can process.
Just as people use English, Yoruba, Hausa, Igbo and other languages to communicate, programmers use programming languages to give instructions to computers.
Different programming languages are designed for different types of tasks.
When you write Python instructions, you create a program. Python uses a software tool called an interpreter to execute those instructions.
The basic process looks like this:
Imagine you want Python to calculate the total cost of two items.
print(2000 + 1500)
The result will be:
3500
This simple program adds 2,000 and 1,500 and displays the answer. It could represent the total cost of two items purchased from a shop.
Python is used in many everyday activities, even when users do not know that Python is involved.
| Industry | How Python Is Used |
|---|---|
| Education | Calculating examination scores and analysing student performance. |
| Banking | Processing financial information and detecting unusual transactions. |
| Healthcare | Analysing medical research and managing health-related data. |
| Business | Automating reports and organising business information. |
| Entertainment | Supporting game development and media-related systems. |
| Cybersecurity | Analysing security logs and automating authorised security checks. |
Before writing larger programs, it is important to understand that Python code is made up of instructions.
Study this example:
print("My name is Ada")
print("I am learning Python")
print("Python is interesting")
When the program runs, the output will be:
My name is Ada
I am learning Python
Python is interesting
Notice that each print() instruction displays a separate line of information.
Now it is time to try a simple programming activity. Imagine you are creating a welcome message for a new student joining CRMNuggets.
print("My name is Tunde")
print("I am 13 years old")
print("I am learning Python")
You can replace Tunde with your own name and change the age to your actual age.
| Term | Meaning |
|---|---|
| Programming | Giving instructions to a computer to perform tasks. |
| Python | A programming language used to build software and solve problems. |
| Program | A set of instructions written for a computer. |
| Code | Instructions written using a programming language. |
| Interpreter | A software tool that executes Python code. |
| Output | The result produced when a program runs. |
| Automation | Using technology to perform tasks automatically. |
In this module, you have learned that:
Test what you have learned by answering these questions.
Congratulations! You have completed Module 1 of Python Fundamentals Level 1 Professional.
In Module 2: Installing Python and Writing Your First Program, you will learn how to install Python, understand the tools used to write Python code, and run your first complete Python program.
Keep practising. Every professional programmer started as a beginner!