Introduction
2 min read ·
Python is one of the most popular programming languages in the world. It is simple, powerful, and easy to learn. Python is used for web development, automation, artificial intelligence, data science, software development, and many other technologies.
Python was created by Guido van Rossum and released in 1991.
Why Learn Python?
Python is beginner-friendly because its syntax is simple and easy to understand. Many students and developers choose Python as their first programming language.
Features of Python
- Easy to read and write
- Simple syntax
- Platform independent
- Large community support
- Huge collection of libraries
- Supports multiple programming styles
Pro Tip
Python code looks close to normal English language, which makes learning programming easier for beginners.
Where is Python Used?
Python is used in different fields of technology.
| Field | Usage |
|---|---|
| Web Development | Building websites and web applications |
| Data Science | Data analysis and visualization |
| Artificial Intelligence | Machine learning and AI applications |
| Automation | Automating repetitive tasks |
| Game Development | Creating games |
| Cyber Security | Security tools and scripting |
Real World Scenario
Popular platforms like Google, Instagram, YouTube, and Netflix use Python in different parts of their systems.
Python Version
Today, Python 3 is the most widely used version of Python. It contains many improved features and better performance compared to older versions.
You can download Python from the official Python website.
Your First Python Program
Output
The
print() function is used to display output on the screen.Goal Achieved
You have successfully written your first Python program.
Why Python is Popular
Python is popular because it reduces complexity for beginners. You do not need to write lengthy code for simple programs.
Python does not require:
- Semicolons after every statement
- Curly brackets for code blocks
- Complex syntax
Note
Python uses indentation to define blocks of code.
Summary
In this lesson, you learned:
- What Python is
- Features of Python
- Applications of Python
- How to write your first Python program
- Why Python is beginner-friendly
Exercise
Write a Python program to print your name on the screen.
Practice Exercise
Setting up SQL Sandbox
Loading database engine…